Defines the row header appearance.
Deprecated - Provided for compatibility with earlier versions only - Use RowHeaders.Appearance instead
Get
| C# | SftTreeRowHeaderAppearanceConstants Style = object.RowHeaderAppearance; |
| VB.NET | Style = object.RowHeaderAppearance As SftTreeRowHeaderAppearanceConstants |
| C++ | enum SftTreeRowHeaderAppearanceConstants Style = object->RowHeaderAppearance; enum SftTreeRowHeaderAppearanceConstants Style = object->GetRowHeaderAppearance(); |
| C | HRESULT object->get_RowHeaderAppearance(enum SftTreeRowHeaderAppearanceConstants* Style); |
| VB | Style = object.RowHeaderAppearance As SftTreeRowHeaderAppearanceConstants |
Put
| C# | SftTreeRowHeaderAppearanceConstants object.RowHeaderAppearance = Style; |
| VB.NET | object.RowHeaderAppearance = Style As SftTreeRowHeaderAppearanceConstants |
| C++ | enum SftTreeRowHeaderAppearanceConstants object->RowHeaderAppearance = Style; void object->PutRowHeaderAppearance(enum SftTreeRowHeaderAppearanceConstants Style); |
| C | HRESULT object->put_RowHeaderAppearance(enum SftTreeRowHeaderAppearanceConstants Style); |
| VB | object.RowHeaderAppearance = Style As SftTreeRowHeaderAppearanceConstants |
object
Style
Defines the row header appearance.
| Style | Value | Description |
|---|---|---|
| rowheaderSftTreeNone | 0 | No row headers. The row headers and row/column headers are not displayed. The RowColumnHeader.Appearance property is set to headerSftTreeNone. |
| rowheaderSftTreeButton | 1 | Displays row headers as buttons. The row header text is defined using the RowHeader.Text property. |
| rowheaderSftTreeText | 2 | Displays row headers as titles. The row header text is defined using the RowHeader.Text property. |
| rowheaderSftTreeButtonCnt0 | 3 | Displays row headers as buttons. The row header text defaults to the zero-based index of the item and can be specified using the RowHeader.Text property. |
| rowheaderSftTreeTextCnt0 | 4 | Displays row headers as titles. The row header text defaults to the zero-based index of the item and can be specified using the RowHeader.Text property. |
| rowheaderSftTreeButtonCnt1 | 5 | Displays row headers as buttons. The row header text defaults to the one-based index of the item and can be specified using the RowHeader.Text property. |
| rowheaderSftTreeTextCnt1 | 6 | Displays row headers as titles. The row header text defaults to the one-based index of the item and can be specified using the RowHeader.Text property. |
Deprecated - Provided for compatibility with earlier versions only - Use RowHeaders.Appearance instead
The RowHeaderAppearance property defines the row header appearance.
If the RowHeaderAppearance property is set to rowheaderSftTreeButton, rowheaderSftTreeButtonCnt0 or rowheaderSftTreeButtonCnt1, the row headers are displayed as buttons, which can be clicked by the user. Row header buttons reflect the selection status (Item.Selected property) of each item.
The RowHeaderAppearance property applies to all row headers and cannot be changed for individual items.
The status of the row header buttons can be controlled using the RowHeaders.Enabled and RowHeaders.RemainUp properties.
See Also SftTree Object | Object Hierarchy