DataGridViewAutoSizeColumnMode
Wisej.Web.DataGridViewAutoSizeColumnMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Defines values for specifying how the width of a column is adjusted.
Fields
AllCells
The column width adjusts to fit the contents of all cells in the column, including the header cell. Since the DataGridView uses virtual scrolling, the width of the column may grow as new cells are downloaded and become visible.
AllCellsExceptHeader
The column width adjusts to fit the contents of all cells in the column, excluding the header cell. Since the DataGridView uses virtual scrolling, the width of the column may grow as new cells are downloaded and become visible.
ColumnHeader
The column width adjusts to fit the contents of the column header cell.
DisplayedCells
The column width adjusts to fit the contents of all cells in the column that are in rows currently displayed, including the header cell.
DisplayedCellsExceptHeader
The column width adjusts to fit the contents of all cells in the column that are in rows currently displayed, excluding the header cell.
DoubleClick
Fill
None
The column width does not automatically adjust.
NotSet
Used By
Gets or sets the mode by which the column automatically adjusts its width.
Returns the sizing mode in effect for the column.
Adjusts the width of the specified column using the specified size mode.
Last updated
Was this helpful?