7 references to AutoSizeToFirstHeader
System.Windows.Forms (7)
winforms\Managed\System\WinForms\DataGridView.cs (1)
4396
if (!ClientUtils.IsEnumValid(value, (int)value, (int)DataGridViewRowHeadersWidthSizeMode.EnableResizing, (int)DataGridViewRowHeadersWidthSizeMode.
AutoSizeToFirstHeader
))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (6)
1989
if (rowHeadersWidthSizeMode < DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders || rowHeadersWidthSizeMode > DataGridViewRowHeadersWidthSizeMode.
AutoSizeToFirstHeader
)
2027
case DataGridViewRowHeadersWidthSizeMode.
AutoSizeToFirstHeader
:
2147
if (rowHeadersWidthSizeMode < DataGridViewRowHeadersWidthSizeMode.AutoSizeToAllHeaders || rowHeadersWidthSizeMode > DataGridViewRowHeadersWidthSizeMode.
AutoSizeToFirstHeader
)
2156
if (rowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.
AutoSizeToFirstHeader
&&
2200
case DataGridViewRowHeadersWidthSizeMode.
AutoSizeToFirstHeader
:
18361
(this.rowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.
AutoSizeToFirstHeader
&& rowIndex != -1 && rowIndex == this.Rows.GetFirstRow(DataGridViewElementStates.Visible)))