Defines the default horizontal alignment of cell contents in this column.
Get
| C# | SftTreeHAlignConstants Style = object.CellHAlign; |
| VB.NET | Style = object.CellHAlign As SftTreeHAlignConstants |
| C++ | enum SftTreeHAlignConstants Style = object->CellHAlign; enum SftTreeHAlignConstants Style = object->GetCellHAlign(); |
| C | HRESULT object->get_CellHAlign(enum SftTreeHAlignConstants* Style); |
| VB | Style = object.CellHAlign As SftTreeHAlignConstants |
Put
| C# | SftTreeHAlignConstants object.CellHAlign = Style; |
| VB.NET | object.CellHAlign = Style As SftTreeHAlignConstants |
| C++ | enum SftTreeHAlignConstants object->CellHAlign = Style; void object->PutCellHAlign(enum SftTreeHAlignConstants Style); |
| C | HRESULT object->put_CellHAlign(enum SftTreeHAlignConstants Style); |
| VB | object.CellHAlign = Style As SftTreeHAlignConstants |
object
A SftTreeColumn object.
Style
Defines the default horizontal alignment of cell contents in this column.
| Name | Value | Description |
|---|---|---|
| halignSftTreeLeft | 0 | The text and graphic component are left aligned. |
| halignSftTreeCenter | 1 | The text and graphic component are centered. |
| halignSftTreeRight | 2 | The text and graphic component are right aligned. |
The CellHAlign property defines the default horizontal alignment of cell contents in this column.
The alignment applies to all cells in the column specified. Individual cells can override the defined default alignment using the Cell.TextHAlign, Cell.TextVAlign, Cell.ImageHAlign and Cell.ImageVAlign properties.
See Also SftTreeColumn Object | Object Hierarchy