You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm migrating my app from 0.10 to 11.
In 0.10 I have a custom NotificationCard which inherited UserControl and INotification, in this way I created a custom template but keeping the possibility to set notification parameters like the expiration timeout.
From 11 INotification is not implementable anymore, so now my custom NotificationCard is just a UserControl. It is displayed as it should, by the way there is no way to set notification parameters (NotificationType, Expiration, ...).
Is there another way to customize a NotificationCard with Avalonia 11?
The text was updated successfully, but these errors were encountered:
I think implementing INotification is kind of a "hidden" feature and was never inteded to be done by the user. Doesn't also bring much benefit, as most users don't know about it. Also it's quite verbose to implement. Instead, let me propose a more flexible API for it. In NotificationManager, we should add a new overload for Show() which accepts the needed parameters
Describe the bug
I'm migrating my app from 0.10 to 11.
In 0.10 I have a custom NotificationCard which inherited UserControl and INotification, in this way I created a custom template but keeping the possibility to set notification parameters like the expiration timeout.
From 11 INotification is not implementable anymore, so now my custom NotificationCard is just a UserControl. It is displayed as it should, by the way there is no way to set notification parameters (NotificationType, Expiration, ...).
Is there another way to customize a NotificationCard with Avalonia 11?
The text was updated successfully, but these errors were encountered: