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
Get
| C# | bool Boolean = object.CalcVisibleOnly; |
| VB.NET | Boolean = object.CalcVisibleOnly As Boolean |
| C++ | VARIANT_BOOL Boolean = object->CalcVisibleOnly; VARIANT_BOOL Boolean = object->GetCalcVisibleOnly(); |
| C | HRESULT object->get_CalcVisibleOnly(VARIANT_BOOL* Boolean); |
| VB | Boolean = object.CalcVisibleOnly As Boolean |
Put
| C# | bool object.CalcVisibleOnly = Boolean; |
| VB.NET | object.CalcVisibleOnly = Boolean As Boolean |
| C++ | VARIANT_BOOL object->CalcVisibleOnly = Boolean; void object->PutCalcVisibleOnly(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_CalcVisibleOnly(VARIANT_BOOL Boolean); |
| VB | object.CalcVisibleOnly = Boolean As Boolean |
object
Boolean
Defines whether only visible items are considered for optimal column width and scrolling calculation.
| Boolean | Description |
|---|---|
| True | Only visible items are considered for optimal column width and scrolling calculation. |
| False | All items are considered for optimal column width and scrolling calculation. |
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