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.ScrollTo(GalleryItemGroup, Boolean, VertAlignment) Method

In This Article

Scrolls the gallery (with or without an animation effect) making the specified gallery group visible at a specific position.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual void ScrollTo(
    GalleryItemGroup group,
    bool bAnimated,
    VertAlignment groupAlignment
)

#Parameters

Name Type Description
group GalleryItemGroup

A GalleryItemGroup object to be made visible.

bAnimated Boolean

true to use an animation effect when scrolling; otherwise, false.

groupAlignment VertAlignment

A VertAlignment value that specifies the position at which the gallery group will be displayed within the display region after scrolling.

See Also