Skip to main content

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.1.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