Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(GalleryScrollMode.Standard)]
[DXCategory("Appearance")]
public GalleryScrollMode ScrollMode { get; set; }

#Property Value

Type Default Description
GalleryScrollMode Standard

A GalleryScrollMode value that specifies the current scroll mode.

Available values:

Name Description
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