RibbonControl.GalleryAnimationLength Property

Gets or sets the length of the fading animation effect for gallery items.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

Property Value

Type Default Description
Int32

-1

An integer value that specifies the length of the fading animation effect for gallery items, in system timer ticks.

Remarks

When a gallery item is hovered over, it's immediately highlighted. After the mouse cursor has left the item's bounds, the item starts fading out. The GalleryAnimationLength property specifies the length of the fading animation effect, in system timer ticks.

If the GalleryAnimationLength property is set to 0, the fading animation effect is not used and the highlight is removed immediately.

See Also