Back to Devexpress

RibbonControl.GalleryAnimationLength Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-ribboncontrol-7097243a.md

latest1.9 KB
Original Source

RibbonControl.GalleryAnimationLength Property

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

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
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

RibbonControl Class

RibbonControl Members

DevExpress.XtraBars.Ribbon Namespace