Back to Devexpress

BaseGallery.ScrollMode Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-3743eebb.md

latest2.3 KB
Original Source

BaseGallery.ScrollMode Property

Gets or sets how the gallery is scrolled when the BaseGallery.ScrollTo method is called.

Namespace : DevExpress.XtraBars.Ribbon.Gallery

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(GalleryScrollMode.Standard)]
[DXCategory("Appearance")]
public GalleryScrollMode ScrollMode { get; set; }
vb
<DXCategory("Appearance")>
<DefaultValue(GalleryScrollMode.Standard)>
Public Property ScrollMode As GalleryScrollMode

Property Value

TypeDefaultDescription
GalleryScrollModeStandard

A GalleryScrollMode value that specifies the current scroll mode.

|

Available values:

NameDescription
Standard

The default scrolling mode.

| | Smooth |

Smooth scrolling is enabled.

|

Remarks

This property specifies the scroll mode for the BaseGallery.ScrollTo method. The property is in effect when calling this method with an enabled animation effect.

Standard and smooth scrolling is available. To enable smooth scrolling, set the ScrollMode property to Smooth.

See Also

EndScroll

ScrollSpeed

ScrollTo

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace