SftBox/OCX 4.5

SftBoxRowHeaders.Style Property

Softel vdm, Inc.

Defines the appearance of all row headers.

Syntax       

Get

VB.NET

Style = object.Style  As SftBoxRowHeadersStyleConstants

VB

Style = object.Style  As SftBoxRowHeadersStyleConstants

C#.NET

SftBoxRowHeadersStyleConstants Style = object.Style;

VC++

enum SftBoxRowHeadersStyleConstants Style = object->Style;
enum SftBoxRowHeadersStyleConstants Style = object->GetStyle();

C

HRESULT object->get_Style(enum SftBoxRowHeadersStyleConstants* Style);

Delphi

Style := object.Style  : TOleEnum;

Put

VB.NET

object.Style = Style  As SftBoxRowHeadersStyleConstants

VB

object.Style = Style  As SftBoxRowHeadersStyleConstants

C#.NET

SftBoxRowHeadersStyleConstants object.Style = Style;

VC++

enum SftBoxRowHeadersStyleConstants object->Style = Style;
void object->PutStyle(enum SftBoxRowHeadersStyleConstants Style);

C

HRESULT object->put_Style(enum SftBoxRowHeadersStyleConstants Style);

Delphi

object.Style := Style  : TOleEnum;

object

A SftBoxRowHeaders object.

Style

Defines the appearance of all row headers.

Name

Value

Description

rowHeadersSftBoxNone

0

No row headers. The row/column header also isn't available.

rowHeadersSftBoxButtons 

1

Row headers are displayed as buttons that represent the selected item.

rowHeadersSftBoxTitles 

2

Row headers are displayed as titles.

rowHeadersSftBoxButtons0 

3

Row headers are displayed as buttons that represent the selected item. If no row header text is defined using RowHeader.Text, row headers will display the zero-based index of the item.

rowHeadersSftBoxTitles0 

4

Row headers are displayed as titles. If no row header text is defined using RowHeader.Text, row headers will display the zero-based index of the item.

rowHeadersSftBoxButtons1 

5

Row headers are displayed as buttons that represent the selected item. If no row header text is defined using RowHeader.Text, row headers will display the one-based index of the item.

rowHeadersSftBoxTitles1 

6

Row headers are displayed as titles. If no row header text is defined using RowHeader.Text, row headers will display the one-based index of the item.

Comments

The Style property defines the appearance of all row headers.

The ItemClick and ItemDblClk events are generated even if row headers are defined as titles.

The styles rowHeadersSftBoxButtons0/1 and rowHeadersSftBoxTitles0/1 provide default text for row headers. Individual row headers can override this default text using the RowHeader.Text property.


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