|
|
|
SftDirectory.AutoSizeColumns Property |
Defines whether the columns are automatically resized optimally when the contents are loaded.
Syntax
VB.NET |
Boolean = object.AutoSizeColumns As Boolean |
||
VB |
Boolean = object.AutoSizeColumns As Boolean |
||
C#.NET |
bool Boolean = object.AutoSizeColumns; |
||
VC++ |
VARIANT_BOOL Boolean = object->AutoSizeColumns;
|
||
C |
HRESULT object->get_AutoSizeColumns(VARIANT_BOOL* Boolean); |
||
Delphi |
Boolean := object.AutoSizeColumns : WordBool; |
||
VB.NET |
object.AutoSizeColumns = Boolean As Boolean |
||
VB |
object.AutoSizeColumns = Boolean As Boolean |
||
C#.NET |
bool object.AutoSizeColumns = Boolean; |
||
VC++ |
VARIANT_BOOL object->AutoSizeColumns = Boolean;
|
||
C |
HRESULT object->put_AutoSizeColumns(VARIANT_BOOL Boolean); |
||
Delphi |
object.AutoSizeColumns := Boolean : WordBool; |
object
A SftDirectory object.
Boolean
Defines whether the columns are automatically resized optimally when the contents are loaded.
Boolean |
Description |
True |
All columns are automatically resized optimally when the contents are loaded. |
False |
Columns 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.