Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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