Skip to main content

RibbonControl.GalleryAnimationLength Property

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

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

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