Back to Devexpress

TileViewItemOptions.HorizontalContentAlignment Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileviewitemoptions-5a1e2a2b.md

latest2.4 KB
Original Source

TileViewItemOptions.HorizontalContentAlignment Property

Gets or sets the horizontal alignment mode for this TileView‘s content.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
HorzAlignmentDefault

A HorzAlignment enumerator value that specifies the horizontal alignment mode for this TileView‘s content.

|

Available values:

NameDescription
Default

Places an object or text at the default position, which is determined by a control.

| | Near |

Places an object/text at a near position.

| | Center |

Centers an object or text within a region.

| | Far |

Places an object/text at a far position.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to HorizontalContentAlignment
TileView

.OptionsTiles .HorizontalContentAlignment

|

See Also

VerticalContentAlignment

TileViewItemOptions Class

TileViewItemOptions Members

DevExpress.XtraGrid.Views.Tile Namespace