feat: Notification size.

This commit is contained in:
Zhang Dian
2024-09-11 14:25:37 +08:00
parent 01c2133012
commit 88f6bb138b
5 changed files with 20 additions and 11 deletions

View File

@@ -110,6 +110,8 @@ public class WindowNotificationManager : WindowMessageManager, INotificationMana
NotificationType = type,
ShowClose = showClose
};
// this.Bind(PositionProperty,notificationControl.GetObservable(PositionProperty));
this[!PositionProperty] = notificationControl[!NotificationCard.PositionProperty];
// Add style classes if any
if (classes is not null)