HeaderPane
Main
Hide
Share Link
Print

Width Property, SftTreeRowHeaders Object

Defines the width of the row header area.

Syntax

Get

C#float W = object.Width;
VB.NETW = object.Width As Single
C++float W = object->Width;
float W = object->GetWidth();
CHRESULT object->get_Width(float* W);
VBW = object.Width As Single

Put

C#float object.Width = W;
VB.NETobject.Width = W As Single
C++float object->Width = W;
void object->PutWidth(float W);
CHRESULT object->put_Width(float W);
VBobject.Width = W As Single

object

A SftTreeRowHeaders object.

W

Defines the width of the row header area. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

The Width property defines the width of the row header area.

The Width and RowHeaders.WidthPix properties are synonyms, but may use different coordinate systems.

The Width property is used to change the width of the row header, row/column header and row/column footer area.

The RowHeaders.OptimalWidth or RowHeaders.MakeOptimal methods can be used to calculate or define the optimal width for the row headers (and row/column headers, row/column footers). An optimal width allows all text and graphic components in the row headers to be displayed in their entirety, without being clipped.

See Also SftTreeRowHeaders Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.