fix: fix binding method.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user