Skip to main content
A newer version of this page is available. .

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

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(GalleryItemAlignment.Far)]
[DXCategory("Behavior")]
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
Near

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

Center

A gallery item is centered.

Far

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

Custom

A gallery item is custom aligned.

Remarks

See BaseGallery.FirstItemVertAlignment to learn more.

See Also