Hello,
I'm trying AnimationSelector Expand/Collapse not work in WPF in Silverlight not any problem. Thanks.
I'm trying AnimationSelector Expand/Collapse not work in WPF in Silverlight not any problem. Thanks.
<
Style
x:Key
=
"RadComboBoxStyle"
TargetType
=
"telerik:RadComboBox"
>
<
Setter
Property
=
"Template"
Value
=
"{StaticResource NonEditableComboBox}"
/>
<
Setter
Property
=
"EditableTemplate"
Value
=
"{StaticResource EditableComboBox}"
/>
<
Setter
Property
=
"NonEditableTemplate"
Value
=
"{StaticResource NonEditableComboBox}"
/>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Center"
/>
<
Setter
Property
=
"MinHeight"
Value
=
"22"
/>
<
Setter
Property
=
"Padding"
Value
=
"4,0,20,0"
/>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource MarkerBrush}"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"UseLayoutRounding"
Value
=
"True"
/>
<
Setter
Property
=
"telerik:AnimationManager.AnimationSelector"
>
<
Setter.Value
>
<
telerik:AnimationSelector
>
<
telerik:AnimationGroup
AnimationName
=
"Expand"
>
<
telerik:SlideAnimation
Direction
=
"In"
SlideMode
=
"Top"
TargetElementName
=
"PopupRoot"
/>
</
telerik:AnimationGroup
>
<
telerik:AnimationGroup
AnimationName
=
"Collapse"
>
<
telerik:SlideAnimation
Direction
=
"Out"
SlideMode
=
"Top"
TargetElementName
=
"PopupRoot"
/>
</
telerik:AnimationGroup
>
</
telerik:AnimationSelector
>
</
Setter.Value
>
</
Setter
>
<
Setter
Property
=
"FontFamily"
Value
=
"Segoe UI"
/>
<
Setter
Property
=
"FontSize"
Value
=
"12"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource MainBrush}"
/>
<
Setter
Property
=
"Foreground"
Value
=
"{StaticResource BasicBrush}"
/>
<
Setter
Property
=
"ItemContainerStyle"
Value
=
"{StaticResource RadComboBoxItemStyle}"
/>
</
Style
>