阅读背景:

如何使用DataTemplate访问列表框中的特定项?

来源:互联网 

I have a ListBox including an ItemTemplate with 2 StackPanels. There is a TextBox in the second StackPanel i want to access. (Change it's visibility to true and accept user input) The trigger should be the SelectionChangedEvent. So, if a user clicks on an ListBoxItem, the TextBlock gets invisible and the TextBox gets visible.I have a ListBox including an ItemTemplate with




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

分享到: