Skip to main content

BaseGallery.LastItemVertAlignment Property

Gets or sets the last gallery item’s vertical position, beyond which this item cannot be moved when scrolling forwards. (When the gallery is horizontally oriented (see GalleryControlGallery.Orientation), the LastItemVertAlignment property defines the last item’s horizontal position.

Namespace: DevExpress.XtraBars.Ribbon.Gallery

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public GalleryItemAlignment LastItemVertAlignment { get; set; }

Property Value

Type Default Description
GalleryItemAlignment Far

A GalleryItemAlignment value that specifies the item’s vertical or horizontal position.

Available values:

Name Description

A gallery item is aligned to the near edge of the parent control.


A gallery item is centered.


A gallery item is aligned to the far edge of the parent control.


A gallery item is custom aligned.


See BaseGallery.FirstItemVertAlignment to learn more.

See Also