SftTree/OCX 7.0

SftTree.RowHeaderAppearance Property

Softel vdm, Inc.

Defines the row header appearance.

Deprecated - Provided for compatibility with earlier versions only - Use RowHeaders.Appearance instead

Syntax       

Get

VB.NET

Style = object.RowHeaderAppearance  As SftTreeRowHeaderAppearanceConstants

VB

Style = object.RowHeaderAppearance  As SftTreeRowHeaderAppearanceConstants

C#.NET

SftTreeRowHeaderAppearanceConstants Style = object.RowHeaderAppearance;

VC++

enum SftTreeRowHeaderAppearanceConstants Style = object->RowHeaderAppearance;
enum SftTreeRowHeaderAppearanceConstants Style = object->GetRowHeaderAppearance();

C

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

Delphi

Style := object.RowHeaderAppearance  : TOleEnum;

Put

VB.NET

object.RowHeaderAppearance = Style  As SftTreeRowHeaderAppearanceConstants

VB

object.RowHeaderAppearance = Style  As SftTreeRowHeaderAppearanceConstants

C#.NET

SftTreeRowHeaderAppearanceConstants object.RowHeaderAppearance = Style;

VC++

enum SftTreeRowHeaderAppearanceConstants object->RowHeaderAppearance = Style;
void object->PutRowHeaderAppearance(enum SftTreeRowHeaderAppearanceConstants Style);

C

HRESULT object->put_RowHeaderAppearance(enum SftTreeRowHeaderAppearanceConstants Style);

Delphi

object.RowHeaderAppearance := Style  : TOleEnum;

object

A SftTree 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

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


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