Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

Appearance Property, SftTreeRowHeaders Object

Defines the row header appearance.

Syntax

Get

VB.NETStyle = object.Appearance As SftTreeRowHeaderAppearanceConstants
VBStyle = object.Appearance As SftTreeRowHeaderAppearanceConstants
C#.NETSftTreeRowHeaderAppearanceConstants Style = object.Appearance;
VC++enum SftTreeRowHeaderAppearanceConstants Style = object->Appearance;
enum SftTreeRowHeaderAppearanceConstants Style = object->GetAppearance();
CHRESULT object->get_Appearance(enum SftTreeRowHeaderAppearanceConstants* Style);

Put

VB.NETobject.Appearance = Style As SftTreeRowHeaderAppearanceConstants
VBobject.Appearance = Style As SftTreeRowHeaderAppearanceConstants
C#.NETSftTreeRowHeaderAppearanceConstants object.Appearance = Style;
VC++enum SftTreeRowHeaderAppearanceConstants object->Appearance = Style;
void object->PutAppearance(enum SftTreeRowHeaderAppearanceConstants Style);
CHRESULT object->put_Appearance(enum SftTreeRowHeaderAppearanceConstants Style);

object

A SftTreeRowHeaders object.

Style

Defines the row header appearance.

StyleValueDescription
rowheaderSftTreeNone0No row headers. The row headers and row/column headers are not displayed. The RowColumnHeader.Appearance property is set to headerSftTreeNone.
rowheaderSftTreeButton1Displays row headers as buttons. The row header text is defined using the RowHeader.Text property.
rowheaderSftTreeText2Displays row headers as titles. The row header text is defined using the RowHeader.Text property.
rowheaderSftTreeButtonCnt03Displays 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.
rowheaderSftTreeTextCnt04Displays 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.
rowheaderSftTreeButtonCnt15Displays 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.
rowheaderSftTreeTextCnt16Displays 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.

Comments

The Appearance 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 SftTreeRowHeaders Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2021 Softel vdm, Inc.