Skip to main content
Bar

Gallery.ItemCaptionVerticalAlignment Property

Gets or sets the vertical alignment of a gallery item's caption. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public VerticalAlignment ItemCaptionVerticalAlignment { get; set; }

#Property Value

Type Description
VerticalAlignment

A VerticalAlignment value specifying the vertical alignment of a gallery item's caption.

#Remarks

A gallery item consists of Glyph and Content regions. The Content Region displays a Content Grid that displays the gallery item's Caption and Description. The ItemCaptionVerticalAlignment property specifies the vertical alignment of the item's caption within the Content Grid's Caption cell.

To specify the alignment of the Content Grid within the Content Region, see Gallery.ItemContentHorizontalAlignment and Gallery.ItemContentVerticalAlignment.

See Also