Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

CalcVisibleOnly Property, SftTreeItems Object

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

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 SftTreeItems 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

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 SftTreeItems Object | Object Hierarchy


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