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

Template Selector

1 Answer 55 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Oleksandr
Top achievements
Rank 1
Oleksandr asked on 21 Apr 2012, 12:29 PM
Hello, i wanna ask about control that have Temaplate selector, I doing case wich is demonstrate in TreeView, in xaml in saw <project:ContentControlEx Grid.Column="2" TemplateSelector="{StaticResource selector}"
                                  DataContext="{Binding Path=SelectedItem, ElementName=radTreeView}"
                                  Content="{Binding}"/>
How can i do the same case with Template selector. thx

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 21 Apr 2012, 04:34 PM
Hi Oleksandyr,

 You can check a demonstration of the RadTreeView's ItemTemplateSelector in this help article. Please let us know if this is what you need. RadTreeView also provides an ItemEditTemplateSelector. You can read more about it here. You may also find this help article and demo useful - it demonstrates a custom Template in the RadTreeView.

Kind regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TreeView
Asked by
Oleksandr
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or