BaseGallery.ScrollTo(GalleryItemGroup, Boolean, VertAlignment) Method

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.v20.1.dll

Declaration

public virtual void ScrollTo(
    GalleryItemGroup group,
    bool bAnimated,
    VertAlignment groupAlignment
)
Public Overridable Sub ScrollTo(
    group As GalleryItemGroup,
    bAnimated As Boolean,
    groupAlignment As VertAlignment
)

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