I have a number of textboxes embedded within a TreeViewItem and I have run into a problem where if you type the '-' (the Subtract key) from the numpad (the -/_ key works fine) the branch collapses. NumLock seems to have no effect on this behavior.
has anyone else run into this problem? if so have you found a good solution?
here is an example similar to my xaml, nothing fancy here:
Thanks
has anyone else run into this problem? if so have you found a good solution?
here is an example similar to my xaml, nothing fancy here:
<Window x:Class="wpfTreeviewTest.Window1" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
Title="Window1" Height="300" Width="300"> |
<Grid> |
<TreeView> |
<TreeViewItem IsExpanded="True"> |
<TextBox Width="100" Margin="5"></TextBox> |
<TextBox Width="100" Margin="5"></TextBox> |
</TreeViewItem> |
</TreeView> |
</Grid> |
</Window> |
Thanks