Check Box not getting focus on Pressing Key Key(Spave Key) in Telerik tree view.

Posted by Pkanwar under WPF on 12/24/2013 | Points: 10 | Views : 2310 | Status : [Member] | Replies : 0

We are using Telerik RadTreeview, and checkbox have been addedd in data template. But when we check checkbox through mouse all functionality working fine. But when we use up and down key, mouse over effect and key effect are showing in different rows as well as using up and down key the check box are not getting focus and check box are not check using space.
Mouse over effect and Keys over effect are not the same they are the different in different rows.

Here is XAML:
<telerik:RadTreeView x:Name="tree" ItemsSource="{Binding NodeCollection}" ItemContainerStyle="{StaticResource TreeItem }" IsLineEnabled="True"
SelectedItem="{Binding SelectedNode,Mode=TwoWay}" IsTabStop="False" SelectionChanged="tree_SelectionChanged" TabIndex="50">

<CheckBox Content ="{Binding Title}" IsEnabled="{Binding IsEnabled, Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" IsTabStop="True" KeyDown="CheckBox_KeyDown" Focusable="True" IsChecked="{Binding IsSelected,
Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" Command="{Binding ElementName=ThumbnailCtr,Path=DataContext.CheckedCommand}" CommandParameter="{Binding Content, RelativeSource={RelativeSource Mode=Self}}"


(No response found.)

Login to post response