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

Declaration

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