Hi,i want to change Decorator to imgae ,i code:
<
UserControl
xmlns
=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x
=
"http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
x:Class
=
"ExpanderStyle.MainPage"
Width
=
"640"
Height
=
"480"
>
<
UserControl.Resources
>
<
ControlTemplate
x:Key
=
"RadExpanderDecoratorControlTemplate"
TargetType
=
"telerik:RadExpanderDecorator"
>
<
Grid
>
<
Rectangle
Fill
=
"#FFCCCCCC"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
Width
=
"8"
Height
=
"2"
/>
<
Rectangle
Fill
=
"#FFCCCCCC"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
Width
=
"2"
Height
=
"8"
/>
</
Grid
>
</
ControlTemplate
>
</
UserControl.Resources
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
telerik:RadExpander
Content
=
"Content of MyExpander"
HorizontalAlignment
=
"Left"
VerticalAlignment
=
"Top"
DecoratorTemplate
=
"{StaticResource RadExpanderDecoratorControlTemplate}"
Header
=
"MyExpander"
/>
</
Grid
>
</
UserControl
>
but this code don't work in 2011 Q2
i try to work in 2010 Q2 ,it is OK....