摘要:
可以使用handycontrol里的类,behavior里的不可以使用,因为它只支持RoutedEvent <hc:Interaction.Triggers> <hc:RoutedEventTrigger RoutedEvent="{x:Static Validation.ErrorEvent}"> 阅读全文
posted @ 2022-10-24 11:37
潜谷先生
阅读(43)
评论(0)
推荐(0)
摘要:
how to implement INotifyDataErrorInfo MVVM 目前实现data validation 有两种方式,一种是通过xaml, 还有就是通过viewmodel. xaml的实现方式如下。这种情况下,viewmodel不需要写任何代码,但是viewmodel在写逻辑时, 阅读全文
posted @ 2022-10-24 11:32
潜谷先生
阅读(88)
评论(0)
推荐(0)

浙公网安备 33010602011771号