a dispatcher for NotificationObject

前端 未结 3 1886
陌清茗
陌清茗 2021-01-24 10:11

I have 2 NotificationObject objects that act as view models. First NotificationObject contains properties that are binded to the view of a specific control, and second Notificat

3条回答
  •  甜味超标
    2021-01-24 10:35

    Application.Current.Dispatcher is pretty much the easiest solution..

    In .NET 4.5 this will thankfully not be necessary anymore.

提交回复
热议问题