Gallery.ItemContentVerticalAlignment Property
Gets or sets the vertical alignment of a Content Grid (displaying a gallery item's caption and description) within a gallery item. This is a dependency property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#Property Value
Type | Description |
---|---|
Vertical |
A Vertical |
#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 ItemContentVerticalAlignment property specifies the vertical alignment of the Content Grid within the Content Region.
If the ItemContentVerticalAlignment property is set to Stretch, the Content Grid is stretched to the height of the Content Region. Use the Gallery.ItemCaptionVerticalAlignment property to specify the vertical alignment of a gallery item's caption within the Content Grid's Caption cell.