Back to Devexpress

Gallery.ItemCaptionHorizontalAlignment Property

wpf-devexpress-dot-xpf-dot-bars-dot-gallery-9621716b.md

latest2.8 KB
Original Source

Gallery.ItemCaptionHorizontalAlignment Property

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

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public HorizontalAlignment ItemCaptionHorizontalAlignment { get; set; }
vb
Public Property ItemCaptionHorizontalAlignment As HorizontalAlignment

Property Value

TypeDescription
HorizontalAlignment

A HorizontalAlignment value specifying the horizontal alignment of a gallery item’s caption.

|

Remarks

A gallery item consists of the Glyph and Content regions. The Content Region displays a Content Grid that displays the gallery item’s Caption and Description. The ItemCaptionHorizontalAlignment property specifies the horizontal 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

ItemCaptionHorizontalAlignment

ItemCaptionVerticalAlignment

ItemContentHorizontalAlignment

ItemContentVerticalAlignment

ItemDescriptionHorizontalAlignment

ItemDescriptionVerticalAlignment

ItemGlyphHorizontalAlignment

ItemGlyphVerticalAlignment

ItemGlyphLocation

Caption

Description

Glyph

Gallery Class

Gallery Members

DevExpress.Xpf.Bars Namespace