Defines the horizontal alignment of the text in this row header.
Get
| C# | SftTreeHAlignDefaultConstants Style = object.TextHAlign; |
| VB.NET | Style = object.TextHAlign As SftTreeHAlignDefaultConstants |
| C++ | enum SftTreeHAlignDefaultConstants Style = object->TextHAlign; enum SftTreeHAlignDefaultConstants Style = object->GetTextHAlign(); |
| C | HRESULT object->get_TextHAlign(enum SftTreeHAlignDefaultConstants* Style); |
| VB | Style = object.TextHAlign As SftTreeHAlignDefaultConstants |
Put
| C# | SftTreeHAlignDefaultConstants object.TextHAlign = Style; |
| VB.NET | object.TextHAlign = Style As SftTreeHAlignDefaultConstants |
| C++ | enum SftTreeHAlignDefaultConstants object->TextHAlign = Style; void object->PutTextHAlign(enum SftTreeHAlignDefaultConstants Style); |
| C | HRESULT object->put_TextHAlign(enum SftTreeHAlignDefaultConstants Style); |
| VB | object.TextHAlign = Style As SftTreeHAlignDefaultConstants |
object
A SftTreeRowHeader object.
Style
Defines the horizontal alignment of the text in this row header.
| Name | Value | Description |
|---|---|---|
| halignSftTreeDefault | -1 | The text is aligned as defined using the default settings for all row headers (see RowHeaders.TextHAlign). |
| halignSftTreeDefaultLeft | 0 | The text and graphic component are left aligned. |
| halignSftTreeDefaultCenter | 1 | The text and graphic component are centered. |
| halignSftTreeDefaultRight | 2 | The text and graphic component are right aligned. |
The TextHAlign property defines the horizontal alignment of the text in this row header.
Row header text and graphics are defined using the RowHeader.Text and RowHeader.Image properties.
The default alignment for all row headers is defined using the RowHeaders.TextHAlign and RowHeaders.TextVAlign properties.
See Also SftTreeRowHeader Object | Object Hierarchy