I'm having issues with multi-selection of my treeview and I'm wondering what I'm doing wrong. I'm trying to get multi-select to work the way I expect on the RadTreeView, however I've found that every time I hold the ctrl key and shift key simultaneously, it seems to ignore the shift key and acts only in the normal ctrl key selection mode (where it selects only the item being clicked, rather than being able to click on an item with the ctrl key, then a second item with ctrl shift and select the new block, leaving any existing selection alone). Normal shift-select works as expected, and normal ctrl-select works just fine too, but ctrl-shift select just seems to work no differently than plain ctrl select, so like its ignoring the shfit key in that circumstance.
If you've read my post history, you may have read that I was trying to override default treeview selection behavior previously, but thankfully the project specification changed to just do the default windows treeview selection style, so I removed all previous overrides of event handlers I had in place and I'm just trying to use extended selection mode.
My xaml:
Any clues as to what I may be doing wrong?
Thanks!
If you've read my post history, you may have read that I was trying to override default treeview selection behavior previously, but thankfully the project specification changed to just do the default windows treeview selection style, so I removed all previous overrides of event handlers I had in place and I'm just trying to use extended selection mode.
My xaml:
<
UserControl
x:Class
=
"LasX.ApplicationFramework.Cad.EntityTreeView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
>
<
UserControl.Resources
>
<
ResourceDictionary
>
<
ResourceDictionary.MergedDictionaries
>
<
ResourceDictionary
Source
=
"TreeViewTemplates.xaml"
/>
</
ResourceDictionary.MergedDictionaries
>
</
ResourceDictionary
>
</
UserControl.Resources
>
<
Grid
>
<
telerik:RadTreeView
Name
=
"treeView1"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
telerik:TreeViewPanel.IsVirtualizing
=
"True"
telerik:TreeViewPanel.VirtualizationMode
=
"Recycling"
ItemTemplate
=
"{StaticResource EntityDataTemplate}"
ItemsSource
=
"{Binding CadEntityManager, UpdateSourceTrigger=PropertyChanged}"
ItemContainerStyle
=
"{StaticResource RadTreeViewItemStyle1}"
Background
=
"#FF212830"
SelectionChanged
=
"treeView1_SelectionChanged"
SelectionMode
=
"Extended"
>
</
telerik:RadTreeView
>
</
Grid
>
</
UserControl
>
Any clues as to what I may be doing wrong?
Thanks!