SftTree/OCX 7.0

SftTree.ItemStyle Property

Softel vdm, Inc.

Defines the item style.

Deprecated - Provided for compatibility with earlier versions only - Use Items.Style instead

Syntax       

Get

VB.NET

Style = object.ItemStyle  As SftTreeItemStyleConstants

VB

Style = object.ItemStyle  As SftTreeItemStyleConstants

C#.NET

SftTreeItemStyleConstants Style = object.ItemStyle;

VC++

enum SftTreeItemStyleConstants Style = object->ItemStyle;
enum SftTreeItemStyleConstants Style = object->GetItemStyle();

C

HRESULT object->get_ItemStyle(enum SftTreeItemStyleConstants* Style);

Delphi

Style := object.ItemStyle  : TOleEnum;

Put

VB.NET

object.ItemStyle = Style  As SftTreeItemStyleConstants

VB

object.ItemStyle = Style  As SftTreeItemStyleConstants

C#.NET

SftTreeItemStyleConstants object.ItemStyle = Style;

VC++

enum SftTreeItemStyleConstants object->ItemStyle = Style;
void object->PutItemStyle(enum SftTreeItemStyleConstants Style);

C

HRESULT object->put_ItemStyle(enum SftTreeItemStyleConstants Style);

Delphi

object.ItemStyle := Style  : TOleEnum;

object

A SftTree object.

Style

Defines the item style.

Style

Value

Description

itemSftTreeFixed

0

All items in the tree control have the same height.

itemSftTreeVariable

1

The height of each item in the tree control may vary based on item attributes, such as fonts used, graphics sizes, etc.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Items.Style instead

The ItemStyle property defines the item style.

It determines whether fixed height or variable height items are used.

See Also  SftTree Object | Object Hierarchy


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