WPF DataGrid绑定自定义行标题给我的建议

时间:2011-09-24 13:59:24

标签: wpf xaml datagrid togglebutton

我正在尝试对true / false属性进行togglebutton visiblity更改, 我在行标题模板中的togglebutton, 我还为change属性创建了convert。

Visibility="{Binding Path=col1, Converter={StaticResource ResourceKey=DemoConvertor}}"  

                                                                                                                                                                                                                                                                                                                                               

请参考: https://skydrive.live.com/P.mvc#!/selectembed.aspx/.Public/dgRowToggleButtonSample.zip?ref=11&cid=0c0b4f9d80b744cd&sc=documents

0 个答案:

没有答案