BaseGallery.ScrollTo(GalleryItem, Boolean) Method
In This Article
Scrolls the gallery (with or without an animation effect) making the specified item visible.
Namespace: DevExpress.XtraBars.Ribbon.Gallery
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public virtual void ScrollTo(
GalleryItem item,
bool bAnimated
)
#Parameters
Name | Type | Description |
---|---|---|
item | Gallery |
A Gallery |
b |
Boolean | true to use an animation effect when scrolling; otherwise, false. |
#Remarks
This method calls another ScrollTo method overload with the itemAlignment parameter set to VertAlignment.Default.
See Also