【发布时间】:2010-11-08 20:00:04
【问题描述】:
在 WPF 中,我希望能够对默认情况下如何应用我的绑定进行模板化。
例如,我想写:
Text="{Binding Path=PedigreeName}"
但好像我输入了:
Text="{Binding Path=PedigreeName, Mode=TwoWay, UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}"
有什么想法吗?
谢谢,
- 帕特里克
【问题讨论】:
标签: wpf xaml binding templates default