阅读背景:

如何在ListBoxItem中为触发器查找子控件的IsEnabled属性

来源:互联网 

I am trying to disable the ListBox item depending on IsEnabled property of ListBoxItem's content. Like in this code the button 1 has IsEnabled=False but list box item is selectable. I want to disable the selection if contents IsEnabled property is false. how should trigger search for the item content and its IsEnabled property.I am trying to disable the ListBox item dependi




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

分享到: