DataGridViewAutoSizeColumnsMode
Wisej.Web.DataGridViewAutoSizeColumnsMode
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Defines values for specifying how the widths of columns are adjusted.
Fields
Name | Description |
---|---|
AllCells | The column widths adjust to fit the contents of all cells in the columns, including header cells. |
AllCellsExceptHeader | The column widths adjust to fit the contents of all cells in the columns, excluding header cells. |
ColumnHeader | The column widths adjust to fit the contents of the column header cells. |
DisplayedCells | The column widths adjust to fit the contents of all cells in the columns that are in rows currently displayed, including header cells. |
DisplayedCellsExceptHeader | The column widths adjust to fit the contents of all cells in the columns that are in rows currently displayed, excluding header cells. |
DoubleClick | Adjusts the width of the column to fit the DisplayedCells when the user double clicks the separator line to the right of the column. |
Fill | The column widths adjust so that the widths of all columns exactly fill the display area of the control, requiring horizontal scrolling only to keep column widths above the MinimumWidth property values. Relative column widths are determined by the relative FillWeight property values. |
None | The column widths do not automatically adjust. |
Used By
Name | Description |
---|---|
Returns or sets a value indicating how column widths are determined. | |
Adjusts the width of all columns using the specified size mode. |
Last updated