Skip to main content
Bar

Gallery.ItemDescriptionHorizontalAlignment Property

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

Namespace: DevExpress.Xpf.Bars

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

#Declaration

public HorizontalAlignment ItemDescriptionHorizontalAlignment { get; set; }

#Property Value

Type Description
HorizontalAlignment

A HorizontalAlignment value specifying the horizontal alignment of a gallery item's description.

#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 ItemDescriptionHorizontalAlignment property specifies the horizontal alignment of the item's description within the Content Grid's Description cell.

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

See Also