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

Declaration

[DXCategory("Appearance")]
[DefaultValue(-1)]
[XtraSerializableProperty]
public int ItemAnimationLength { get; set; }
<DXCategory("Appearance")>
<DefaultValue(-1)>
<XtraSerializableProperty>
Public Property ItemAnimationLength As Integer

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