Tim
bfeeb10adf
improved help text
3 years ago
Tim
3f0769a1f4
Uncomment code that was commented by accident
3 years ago
Tim
eadf63ce45
Revert breaking change
3 years ago
Tim
540bade45a
Improve WinodwNotificationManager
- Allow usage from XAML
- Allow any Visual as Host, so it can be used inside UserControl for example
- Allow adding style classes for NotificationCards
3 years ago
Tim
7514d7085c
Added an option to specify classes
3 years ago
Tim
eabaa776cc
feat: Customize Notifications
3 years ago
Nikita Tsukanov
6bdf0eacc7
Removed legacy renderers
3 years ago
Max Katz
59d7874b1d
Replace System.Reactive with internal extensions
3 years ago
Thomas Karl Pietrowski
5946de28e6
Notifications: Correctly set parent
As of Avalonia 11 the notifications are broken and are shown always in the upper left corner.
I'm not an expert, but as the parent of the control is not correctly set, we can imagine that the library assumes that the coordinate (0, 0) is going to be used and thus it appears always at a static location.
After fixing the assignment of the parent, the notification bubbles are shown at the right corner again.
Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com>
Signed-off-by: Thomas Karl Pietrowski <t.pietrowski@item24.com>
Signed-off-by: Malte Lauterjung <malte.lauterjung@trinidat.de>
3 years ago
Emmanuel Hansen
96d4a1588b
remove notification manager property from toplevel. remove unused notification manager in control catalog main window
3 years ago
Emmanuel Hansen
7ce869475e
add notifcationmanager property to toplevel
3 years ago
ables3000
b7257ed37f
Fix show notification memory leak when content is object
4 years ago
Steven Kirk
f8706278a8
Make OnPropertyChanged non-generic.
4 years ago
robloo
d4540ed0e5
Add template part attributes to common controls
4 years ago
Steven Kirk
77d059be22
Add nullable annotations to Avalonia.Controls.
4 years ago
Steven Kirk
58c333b6f1
Added PseudoClassesAttribute.
And apply it to our controls. Can be used by designers to add auto-completion support for pseudoclasses.
6 years ago
Steven Kirk
2fcde9e34d
Use OnApplyTemplate instead of OnTemplateApplied.
- More similar to WPF API
- Less bug-prone (see #3744 )
`OnTemplateApplied` still exists, but is deprecated and does nothing.
6 years ago
Steven Kirk
4a752c3f48
Get non-animated change information.
- Pass information for all property changes to `OnPropertyChangedCore`; whether they result in an effective value change or not
- Added `GetBaseValue` to get a value with a specified priority
- Change the signature of `OnPropertyChanged` again to take an `AvaloniaPropertyChangedEventArgs<T>`
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Andrey Kunchev
fc44379173
fix immediaterenderer custom hittesting for WindowNotificationManager fixes #3356
6 years ago
Steven Kirk
b89305d708
Set pseudoclasses manually.
It makes creating new controls a _lot_ faster.
6 years ago
Dariusz Komosinski
7a13d819fd
Optimize and add new efficient visual tree extensions.
6 years ago
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
7 years ago
Dan Walmsley
f4f2490c84
seealso comment after sumary.
7 years ago
danwalmsley
a1b4e31241
Update src/Avalonia.Controls/Notifications/WindowNotificationManager.cs
improve xml comments
Co-Authored-By: Steven Kirk <grokys@users.noreply.github.com>
7 years ago
danwalmsley
0119df4b93
Update src/Avalonia.Controls/Notifications/WindowNotificationManager.cs
improve xml comments
Co-Authored-By: Steven Kirk <grokys@users.noreply.github.com>
7 years ago
Dan Walmsley
4996c0b173
add xml comments.
7 years ago
Dan Walmsley
c644fa2550
dont make maxitems and position attached properties.
7 years ago
Dan Walmsley
ae6a33ccbe
fix invalid property name,
7 years ago
Dan Walmsley
f7fe5380b4
Use Take(1) to unsubscribe the event.
7 years ago
Dan Walmsley
fd48caaf67
fix notification event handlers naming.
7 years ago
Dan Walmsley
41102bad24
Notification control is not notification card and simple notification is now Notification.
7 years ago
Dan Walmsley
d5a02ff023
remove redundant cast
7 years ago
Dan Walmsley
b1125d73a1
remove messy install step.
7 years ago
Dan Walmsley
e45805aa50
suggested api changes
7 years ago
Dan Walmsley
e14cc277d7
dont use properties on toplevel
7 years ago
Dan Walmsley
77dd5079d1
notification area is customizable via attached properties.
7 years ago
Dan Walmsley
f8f5610b8c
polish notifications
7 years ago
Dan Walmsley
147eb272aa
notification area to fill window
7 years ago
Dan Walmsley
962ed29bb6
remove need for seperate NotificationManager class.
7 years ago
Dan Walmsley
b6fc0d7857
NotificationContent template works
7 years ago
Dan Walmsley
d80083f2f5
further progress on notifications ui
7 years ago
Dan Walmsley
b31701d1ca
begin port of notification controls
7 years ago