HeaderPane
Main
Hide
Share Link
Print

CalcVisibleOnly Property, SftTreeItems Object

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

Syntax

Get

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

Put

C#bool object.CalcVisibleOnly = Boolean;
VB.NETobject.CalcVisibleOnly = Boolean As Boolean
C++VARIANT_BOOL object->CalcVisibleOnly = Boolean;
void object->PutCalcVisibleOnly(VARIANT_BOOL Boolean);
CHRESULT object->put_CalcVisibleOnly(VARIANT_BOOL Boolean);
VBobject.CalcVisibleOnly = Boolean As 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 11/03/2026 - (email)
© 2026 Softel vdm, Inc.