Is it possible to animate the way a RadContextMenu opens and closes? I have tried using the VisualStateManager (below) but it doesn't produce the results I was hoping for.
<
telerik:RadContextMenu
x:Name
=
"GridContextMenu"
>
<
VisualStateManager.VisualStateGroups
>
<
VisualStateGroup
x:Name
=
"CommonStates"
>
<
VisualStateGroup.Transitions
>
<
VisualTransition
From
=
"Closed"
To
=
"Opened"
GeneratedDuration
=
"00:00:00.5"
>
<
Storyboard
>
<
DoubleAnimationUsingKeyFrames
BeginTime
=
"0"
Storyboard.TargetName
=
"GridContextMenu"
Storyboard.TargetProperty
=
"Opacity"
>
<
EasingDoubleKeyFrame
KeyTime
=
"0"
Value
=
"1"
/>
<
EasingDoubleKeyFrame
KeyTime
=
"00:00:00.5"
Value
=
"0"
/>
</
DoubleAnimationUsingKeyFrames
>
</
Storyboard
>
</
VisualTransition
>
</
VisualStateGroup.Transitions
>
</
VisualStateGroup
>
</
VisualStateManager.VisualStateGroups
>
...
</
telerik:RadContextMenu
>