Back to Devexpress

TileViewItemOptions.VerticalContentAlignment Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewitemoptions-0ae9c186.md

latest2.4 KB
Original Source

TileViewItemOptions.VerticalContentAlignment Property

Gets or sets the vertical alignment mode for the TileView content.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(VertAlignment.Default)]
[XtraSerializableProperty]
public VertAlignment VerticalContentAlignment { get; set; }
vb
<XtraSerializableProperty>
<DefaultValue(VertAlignment.Default)>
Public Property VerticalContentAlignment As VertAlignment

Property Value

TypeDefaultDescription
VertAlignmentDefault

A VertAlignment enumerator value that specifies the vertical alignment mode for the TileView content.

|

Available values:

NameDescription
Default

Places the text to its default position. The default position is in the center of an object.

| | Top |

Places the text to the top of an object.

| | Center |

Centers the text within an object.

| | Bottom |

Places the text to the bottom of an object.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to VerticalContentAlignment
TileView

.OptionsTiles .VerticalContentAlignment

|

See Also

HorizontalContentAlignment

TileViewItemOptions Class

TileViewItemOptions Members

DevExpress.XtraGrid.Views.Tile Namespace