Back to Devexpress

BaseGallery.LastItemVertAlignment Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-gallery-dot-basegallery-1505dc64.md

latest2.7 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(GalleryItemAlignment.Far)]
[DXCategory("Behavior")]
public GalleryItemAlignment LastItemVertAlignment { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(GalleryItemAlignment.Far)>
Public Property LastItemVertAlignment As GalleryItemAlignment

Property Value

TypeDefaultDescription
GalleryItemAlignmentFar

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

|

Available values:

NameDescription
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

FirstItemVertAlignment

FirstItemVertIndent

LastItemVertIndent

Orientation

BaseGallery Class

BaseGallery Members

DevExpress.XtraBars.Ribbon.Gallery Namespace