SftTree/OCX 7.0

SftTreeRowHeaders.Appearance Property

Softel vdm, Inc.

Defines the row header appearance.

Syntax       

Get

VB.NET

Style = object.Appearance  As SftTreeRowHeaderAppearanceConstants

VB

Style = object.Appearance  As SftTreeRowHeaderAppearanceConstants

C#.NET

SftTreeRowHeaderAppearanceConstants Style = object.Appearance;

VC++

enum SftTreeRowHeaderAppearanceConstants Style = object->Appearance;
enum SftTreeRowHeaderAppearanceConstants Style = object->GetAppearance();

C

HRESULT object->get_Appearance(enum SftTreeRowHeaderAppearanceConstants* Style);

Delphi

Style := object.Appearance  : TOleEnum;

Put

VB.NET

object.Appearance = Style  As SftTreeRowHeaderAppearanceConstants

VB

object.Appearance = Style  As SftTreeRowHeaderAppearanceConstants

C#.NET

SftTreeRowHeaderAppearanceConstants object.Appearance = Style;

VC++

enum SftTreeRowHeaderAppearanceConstants object->Appearance = Style;
void object->PutAppearance(enum SftTreeRowHeaderAppearanceConstants Style);

C

HRESULT object->put_Appearance(enum SftTreeRowHeaderAppearanceConstants Style);

Delphi

object.Appearance := Style  : TOleEnum;

object

A SftTreeRowHeaders 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.

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


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com