| Visual Basic (Declaration) | |
|---|---|
Public Property AutoSizeMode As ColumnAutoSizeMode | |
| C# | |
|---|---|
public ColumnAutoSizeMode AutoSizeMode {get; set;} | |
Note: The AutoSizeMode property is only applicable when the UltraListView.View property is set to 'Details'.
Note: If the value of the UltraListViewColumnBase.AllowSizing property resolves to false, and sizing via the user interface for this column is disallowed, the AutoSizeMode property resolves to 'None', and the column cannot be auto-sized via the user interface.
The AutoSizeMode property affects only the column on which the property is set; to set the auto-sizing mode for all columns displayed by the control, use the UltraListViewDetailsSettings.ColumnAutoSizeMode property.
| Visual Basic | Copy Code |
|---|---|
Imports Infragistics.Win | |
| C# | Copy Code |
|---|---|
using Infragistics.Win; | |
