Hide

SftDirectory 3.5 - ActiveX File/Folder Control

Display
Print

SftDirectory.AutoSizeColumns Property

Defines whether the columns are automatically resized optimally when the contents are loaded.

Syntax

Get

VB.NETBoolean = object.AutoSizeColumns As Boolean
VBBoolean = object.AutoSizeColumns As Boolean
C#.NETbool Boolean = object.AutoSizeColumns;
VC++VARIANT_BOOL Boolean = object->AutoSizeColumns;
VARIANT_BOOL Boolean = object->GetAutoSizeColumns();
CHRESULT object->get_AutoSizeColumns(VARIANT_BOOL* Boolean);

Put

VB.NETobject.AutoSizeColumns = Boolean As Boolean
VBobject.AutoSizeColumns = Boolean As Boolean
C#.NETbool object.AutoSizeColumns = Boolean;
VC++VARIANT_BOOL object->AutoSizeColumns = Boolean;
void object->PutAutoSizeColumns(VARIANT_BOOL Boolean);
CHRESULT object->put_AutoSizeColumns(VARIANT_BOOL Boolean);

object

A SftDirectory object.

Boolean

Defines whether the columns are automatically resized optimally when the contents are loaded.

BooleanDescription
TrueAll columns are automatically resized optimally when the contents are loaded.
FalseColumns are not resized.

Comments

The AutoSizeColumns property defines whether the columns are automatically resized optimally when the contents are loaded.

All columns' Width properties are used to define the width for each column. These column widths are used if AutoSizeColumns is set to False or until the control's contents are updated.

If AutoSizeColumns is set to True, the columns are always sized optimally, so text is not truncated.

Columns can be optimally sized using the control's MakeColumnsOptimal method or a column's MakeOptimal method.

See Also SftDirectory Object | Object Hierarchy


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