wpf - Setting Focusable On RadTreeViewItem does not Follow the Default Foucable Behaviour -
in telerik radtreeview want of treeviewitems unselectable until previous steps completed. in background have boolean property isselectable binded treeviewitem focusable property. before when using windows treeview control focusable property made treeviewitems unselected until previous steps completed default behaviour in windows control. after converting telerik radtreeview control can select items focusable property set false , treeviewitem highlighted on hovering on item. there way can make work on setting radtreeviewitem focusable property false respective radtreeviewitems not selectable , shouldn’t highlight on mouse on default focus behaviour? following snippet example demonstrate issue focusable property focusable false category1 can selected , highlighted.
thanks.
<telerik:radtreeview x:name="radtreeview"> <telerik:radtreeviewitem header="category1" focusable="false"> <telerik:radtreeviewitem header="product1" focusable="true" /> <telerik:radtreeviewitem header="product2" /> <telerik:radtreeviewitem header="product3" /> </telerik:radtreeviewitem> <telerik:radtreeviewitem header="category2" focusable="false" /> <telerik:radtreeviewitem header="category3" /> <telerik:radtreeviewitem header="category4" focusable="false"> <telerik:radtreeviewitem header="product a" focusable="true" /> <telerik:radtreeviewitem header="product b" /> <telerik:radtreeviewitem header="product c" /> </telerik:radtreeviewitem> <telerik:radtreeviewitem header="category5" /> </telerik:radtreeview>
Comments
Post a Comment