Skip to main content

StandaloneGallery.ScrollTo(GalleryItem, Boolean, VertAlignment) Method

Scrolls the gallery, making the specified gallery item visible (with or without an animation effect).

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public override void ScrollTo(
    GalleryItem item,
    bool bAnimated,
    VertAlignment itemAlignment
)

Parameters

Name Type Description
item GalleryItem

A GalleryItem object to be made visible.

bAnimated Boolean

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

itemAlignment VertAlignment

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

See Also