Ala*_*ain 1 wpf xaml binding .net-3.5
为什么我收到此错误消息?我正在使用事件设定器!
<Style TargetType="{x:Type xcdg:DataCell}">
<EventSetter Event="LostFocus" Handler="cellLostFocusHandler" />
</Style>
Run Code Online (Sandbox Code Playgroud)
编辑
我没有使用内联样式.它在资源中,即:
<DataGrid.Resources>
<Style TargetType="{x:Type xcdg:DataCell}">
<EventSetter Event="LostFocus" Handler="cellLostFocusHandler" />
</Style>
</DataGrid.Resources>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2912 次 |
| 最近记录: |