This is a migrated thread and some comments may be shown as answers.

Treeview - How to deselect a node in Single selection mode

1 Answer 93 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Sandeep Narang
Top achievements
Rank 1
Sandeep Narang asked on 11 Dec 2012, 05:28 AM
Hi There

How will i deselect a selected node in single selection mode. Is there any key shortcut to acheieve the same?

Thanks and Regards
Sandeep

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 13 Dec 2012, 01:01 PM
Hello Sandeep,

There is a boolean IsSelected property (in the RadTreeViewItem class) which controls whether an item is selected or not. Let me ask you according to your second question. Are you talking about a keyboard shortcut? If so there is no option for deselecting any item with the keyboard. You can only change the selection and the focus. If you are asking something different please elaborate more on your scenario.

All the best,
Pavel R. Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TreeView
Asked by
Sandeep Narang
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or