How can I make it from Setter in default RadComboBox style?
Here is my code:
<
Style
x:Key
=
"DefaultRadComboBoxStyle"
TargetType
=
"telerik:RadComboBox"
>
<
Setter
Property
=
"Margin"
Value
=
"5"
/>
<
Setter
Property
=
"SelectedValuePath"
Value
=
"Id"
/>
<
Setter
Property
=
"DisplayMemberPath"
Value
=
"Name"
/>
<
Setter
Property
=
"IsEditable"
Value
=
"True"
/>
<
Setter
Property
=
"IsReadOnly"
Value
=
"True"
/>
<
Setter
Property
=
"Background"
Value
=
"{StaticResource TextBoxBrush}"
/>
<
Setter
Property
=
"ClearSelectionButtonContent"
Value
=
"Wyczyść"
/>
<
Setter
Property
=
"telerik:AnimationManager.AnimationSelector"
>
<
Setter.Value
>
<
telerik:AnimationSelector
>
<
telerik:AnimationGroup
AnimationName
=
"Expand"
>
<
telerik:SlideAnimation
Duration
=
"0:0:0.55"
Direction
=
"In"
SlideMode
=
"Top"
TargetElementName
=
"PopupRoot"
/>
</
telerik:AnimationGroup
>
<
telerik:AnimationGroup
AnimationName
=
"Collapse"
>
<
telerik:SlideAnimation
Duration
=
"0:0:0.55"
Direction
=
"Out"
SlideMode
=
"Top"
TargetElementName
=
"PopupRoot"
/>
</
telerik:AnimationGroup
>
</
telerik:AnimationSelector
>
</
Setter.Value
>
</
Setter
>
</
Style
>
<
Style
TargetType
=
"telerik:RadComboBox"
BasedOn
=
"{StaticResource DefaultRadComboBoxStyle}"
/>