Hi,
I am new to using Telerik controls
Requirement
I am new to using Telerik controls
Requirement
- I am having two header panel (Customer,Salary)
- under that many items are displaying without any issue
- i want to collapse/expand the Customer header panel and it's items as a default selection when the page is loaded.
For More details please see the attached image the Breverage header should be automatically collapsed like that i need...
How to acheive this.
My code is as below
<
HierarchicalDataTemplate
x:Key
=
"availablePresetsTemplate"
ItemsSource
=
"{Binding Values}"
ItemTemplate
=
"{StaticResource presetTemplate}"
>
<
TextBlock
Text
=
"{Binding Path=Name}"
/>
</
HierarchicalDataTemplate
>
<
telerik:RadPanelBar
x:Name
=
"panelBar"
Grid.Column
=
"0"
Grid.Row
=
"1"
SelectionMode
=
"Extended"
IsLoadOnDemandEnabled
=
"True"
ScrollViewer.HorizontalScrollBarVisibility
=
"Disabled"
ItemsSource
=
"{Binding AvailableRoles}"
ItemTemplate
=
"{StaticResource availablePresetsTemplate}"
HorizontalAlignment
=
"Stretch"
/>
Thanks in Advance..