fix: fix binding method.

This commit is contained in:
Zhang Dian
2024-09-11 15:55:02 +08:00
parent 88f6bb138b
commit 73bfed8632

View File

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