New to Telerik UI for WPF? Download free 30-day trial

How Disable the RadMenuItem Element's Animations

Environment

Product Version 2025.2.521
Product RadMenu for WPF
Product RadContextMenu for WPF

Description

How to disable the animations of the RadMenuItem element.

Solution

The RadMenuItem element is used in controls such as the RadMenu and the RadContextMenu. To disable the animation, set the AnimationManager.AnimationSelector attached property to null.

Disabling the animation of the RadMenuItem element

<Application.Resources> 
    <!-- If NoXaml is used: BasedOn="{StaticResource RadMenuItemStyle}" --> 
    <Style TargetType="telerik:RadMenuItem"> 
        <Setter Property="telerik:AnimationManager.AnimationSelector" Value="{x:Null}"/> 
    </Style> 
</Application.Resources> 
In this article