阅读背景:

如果复选框是从数据动态创建的,如何分配和访问WPF复选框的Name属性?

来源:互联网 

I have a TreeView and there are multiple layers to the TreeView using HierarchicalDataTemplates. Each TreeViewItem currently displays the "name" of the object that it represents. I now need to add CheckBoxes to the children of the tree which I have figured out somewhat, but I haven't figured out to access the NAME of the checkbox when it is checked. I have a TreeView and there are multiple layers




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: