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