Skip to main content
Version: 3.5

DataGridViewRowHeadersWidthSizeMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Defines values for specifying how the row header width is adjusted.

public enum DataGridViewRowHeadersWidthSizeMode : Enum

Fields​

NameDescription
AutoSizeToAllHeadersThe row header width adjusts to fit the contents of all the row headers in the rows currently loaded on the client's data cache.
AutoSizeToDisplayedHeadersThe row header width adjusts to fit the contents of all the row headers in the currently displayed rows.
AutoSizeToFirstHeaderThe row header width adjusts to fit the contents of the first row header.
DisableResizingUsers cannot adjust the column header width.
EnableResizingUsers can adjust the column header width.

Used By​

NameDescription
DataGridView.RowHeadersWidthSizeModeReturns or sets whether the width of the row headers is adjustable and whether it can be adjusted by the user or is automatically adjusted to fit the contents of the headers.
DataGridView.AutoResizeRowHeadersWidthAdjusts the width of the row headers using the specified size mode.