SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether the columns are automatically resized optimally when the contents are loaded.
Get
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; VARIANT_BOOL Boolean = object->GetAutoSizeColumns(); |
C | HRESULT object->get_AutoSizeColumns(VARIANT_BOOL* Boolean); |
Put
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; void object->PutAutoSizeColumns(VARIANT_BOOL Boolean); |
C | HRESULT object->put_AutoSizeColumns(VARIANT_BOOL Boolean); |
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. |
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