This question is locked. New answers and comments are not allowed.
I cannot enable animation if I set it part of style like this.
It however works when I set it though code or set it to the control directly.
Could I be missing something?
Thanks
PP
<Style x:Key="RadExpanderStyle" TargetType="telerik:RadExpander"> |
<Setter Property="Telerik_Windows_Controls_Animation:AnimationManager.IsAnimationEnabled" Value="true" /> |
<Setter Property="Telerik_Windows_Controls_Animation:AnimationManager.AnimationSelector"> |
<Setter.Value> |
<Telerik_Windows_Controls_Animation:AnimationSelector> |
<Telerik_Windows_Controls_Animation:ExpanderExpandCollapseAnimation AnimationName="Expand" Direction="In" TargetName="ContentElement" /> |
<Telerik_Windows_Controls_Animation:ExpanderExpandCollapseAnimation AnimationName="Collapse" Direction="Out" TargetName="ContentElement"/> |
</Telerik_Windows_Controls_Animation:AnimationSelector> |
</Setter.Value> |
</Setter> |
</Style> |
It however works when I set it though code or set it to the control directly.
<telerik:RadExpander x:Name="WorkRequestExpander" Margin="8,8,8,0" VerticalAlignment="Top" FontSize="14" |
Expanded="WorkRequestExpander_Expanded" |
Collapsed="WorkRequestExpander_Collapsed" |
Background="{StaticResource BowneGrey2}" Style="{StaticResource RadExpanderStyle}" Telerik_Windows_Controls_Animation:AnimationManager.IsAnimationEnabled="true"> |
Could I be missing something?
Thanks
PP