Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RibbonControl.ItemAnimationLength Property

Gets or sets the length of the fading animation effect for the RibbonControl’s bar item links.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(-1)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public int ItemAnimationLength { get; set; }

#Property Value

Type Default Description
Int32 -1

An integer value that specifies the length of the fading animation effect for bar item links, in system timer ticks.

#Remarks

bar item links support fading animation effects. After the mouse cursor has been hovered over the bar item link, it starts highlighting. After the mouse cursor has left the item’s bounds, it starts fading out. The ItemAnimationLength property specifies the length of the animation effects, in system timer ticks.

If the ItemAnimationLength property is set to 0, the fading animation effects are not used, and the highlights are removed immediately.

See Also