Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CalcVisibleOnly Property, SftTree Object

Defines whether only visible items are considered for optimal column width and scrolling calculation.

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

Syntax

Get

VB.NETBoolean = object.CalcVisibleOnly As Boolean
VBBoolean = object.CalcVisibleOnly As Boolean
C#.NETbool Boolean = object.CalcVisibleOnly;
VC++VARIANT_BOOL Boolean = object->CalcVisibleOnly;
VARIANT_BOOL Boolean = object->GetCalcVisibleOnly();
CHRESULT object->get_CalcVisibleOnly(VARIANT_BOOL* Boolean);

Put

VB.NETobject.CalcVisibleOnly = Boolean As Boolean
VBobject.CalcVisibleOnly = Boolean As Boolean
C#.NETbool object.CalcVisibleOnly = Boolean;
VC++VARIANT_BOOL object->CalcVisibleOnly = Boolean;
void object->PutCalcVisibleOnly(VARIANT_BOOL Boolean);
CHRESULT object->put_CalcVisibleOnly(VARIANT_BOOL Boolean);

object

A SftTree object.

Boolean

Defines whether only visible items are considered for optimal column width and scrolling calculation.

BooleanDescription
TrueOnly visible items are considered for optimal column width and scrolling calculation.
FalseAll items are considered for optimal column width and scrolling calculation.

Comments

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

The CalcVisibleOnly property defines whether only visible items are considered for optimal column width and scrolling calculation.

The CalcVisibleOnly property defines whether hidden items are evaluated using the methods Column.OptimalWidth, RowHeaders.OptimalWidth, Column.MakeOptimal, RowHeaders.MakeOptimal and Items.RecalcHorizontalExtent.

If items are not visible because their parent items are collapsed, these can be excluded from the optimal width calculation by setting the CalcVisibleOnly property to True.

See Also SftTree Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.