Back to Devexpress

TileItem.Text2Alignment Property

windowsforms-devexpress-dot-xtraeditors-dot-tileitem-dot-text2alignment.md

latest3.4 KB
Original Source

TileItem.Text2Alignment Property

Gets or sets the second text block’s alignment for the current TileItem. This property is obsolete. Use the TileItemElement.TextAlignment instead.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
[DefaultValue(TileItemContentAlignment.Default)]
[DXCategory("Appearance")]
[EditorBrowsable(EditorBrowsableState.Never)]
public TileItemContentAlignment Text2Alignment { get; set; }
vb
<DefaultValue(TileItemContentAlignment.Default)>
<DXCategory("Appearance")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property Text2Alignment As TileItemContentAlignment

Property Value

TypeDefaultDescription
TileItemContentAlignmentDefault

A TileItemContentAlignment enumerator value specifying corresponding alignment settings.

|

Available values:

Show 11 items

NameDescription
Default

Default content alignment.

| | TopLeft |

Content appears vertically aligned on the top, and horizontally aligned on the left.

| | TopCenter |

Content appears vertically aligned on the top, and horizontally aligned at the center.

| | TopRight |

Content appears vertically aligned on the top, and horizontally aligned on the right.

| | MiddleLeft |

Content appears vertically aligned at the center, and horizontally aligned on the left.

| | MiddleCenter |

Content is horizontally and vertically aligned at the center.

| | MiddleRight |

Content appears vertically aligned at the center, and horizontally aligned on the right.

| | BottomLeft |

Content appears vertically aligned at the bottom, and horizontally aligned on the left.

| | BottomCenter |

Content appears vertically aligned at the bottom, and horizontally aligned at the center.

| | BottomRight |

Content appears vertically aligned at the bottom, and horizontally aligned on the right.

| | Manual |

Indicates that manual text alignment, based on the TileItemElement.TextLocation coordinates, should be used.

|

Remarks

The Text2Alignment property is obsolete. Use the TileItemElement.TextAlignment instead.

See Also

TextAlignment

Elements

Tile Item Structure

TileItem Class

TileItem Members

DevExpress.XtraEditors Namespace