Hi, I'm using Xaml to design my PanelBar. I want to set defined
properties to my PanelBarItems when they are expanded and when they are
selected. I found some code on an other thread but it doesn't seem to
be compatible with the PanelBar. Here is the code:
Can you tell me how to set the HeaderTemplate and his trigger?
I'm using WPF controls Q2 2010
Thanks
<
Style
TargetType
=
"{x:Type telerik:RadPanelBarItem}"
>
<
Setter
Property
=
"HeaderTemplate"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"{x:Type telerik:RadPanelBarItem}"
>
<
ControlTemplate.Triggers
>
<
Trigger
Property
=
"IsSelected"
Value
=
"True"
>
<
Setter
Property
=
"FontSize"
Value
=
"25"
/>
</
Trigger
>
<
Trigger
Property
=
"IsExpanded"
Value
=
"True"
>
<
Setter
Property
=
"FontWeight"
Value
=
"Italic"
/>
</
Trigger
>
</
ControlTemplate.Triggers
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Can you tell me how to set the HeaderTemplate and his trigger?
I'm using WPF controls Q2 2010
Thanks