48 writes to RowHeadersWidthSizeMode
System.Windows.Forms.Tests (48)
System\Windows\Forms\DataGridViewHeaderCellTests.cs (5)
933
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
957
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
999
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
1039
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
2702
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
System\Windows\Forms\DataGridViewTests.cs (43)
981
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
1033
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
1112
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
1182
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
1240
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
1279
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
1319
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
1369
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
1440
RowHeadersWidthSizeMode
= value
1447
control.
RowHeadersWidthSizeMode
= value;
1483
control.
RowHeadersWidthSizeMode
= value;
1491
control.
RowHeadersWidthSizeMode
= value;
1512
RowHeadersWidthSizeMode
= originalRowHeadersWidthSizeMode,
1523
control.
RowHeadersWidthSizeMode
= value;
1532
control.
RowHeadersWidthSizeMode
= originalRowHeadersWidthSizeMode;
1559
control.
RowHeadersWidthSizeMode
= value;
1564
control.
RowHeadersWidthSizeMode
= value;
1570
control.
RowHeadersWidthSizeMode
= DataGridViewRowHeadersWidthSizeMode.EnableResizing;
1576
control.
RowHeadersWidthSizeMode
= value;
1595
control.
RowHeadersWidthSizeMode
= value;
1600
control.
RowHeadersWidthSizeMode
= value;
1605
control.
RowHeadersWidthSizeMode
= DataGridViewRowHeadersWidthSizeMode.EnableResizing;
1611
control.
RowHeadersWidthSizeMode
= value;
1638
control.
RowHeadersWidthSizeMode
= value;
1643
control.
RowHeadersWidthSizeMode
= value;
1648
control.
RowHeadersWidthSizeMode
= DataGridViewRowHeadersWidthSizeMode.EnableResizing;
1654
control.
RowHeadersWidthSizeMode
= value;
1694
control.
RowHeadersWidthSizeMode
= value;
1699
control.
RowHeadersWidthSizeMode
= value;
1704
control.
RowHeadersWidthSizeMode
= DataGridViewRowHeadersWidthSizeMode.EnableResizing;
1710
control.
RowHeadersWidthSizeMode
= value;
1725
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
RowHeadersWidthSizeMode
= value);
2405
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
2437
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
2476
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
2502
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
2542
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode,
2592
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
2637
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
2678
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
2690
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
2717
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
2756
RowHeadersWidthSizeMode
= rowHeadersWidthSizeMode
35 references to RowHeadersWidthSizeMode
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3381
if (
RowHeadersWidthSizeMode
is not DataGridViewRowHeadersWidthSizeMode.EnableResizing
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
9318
if (
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing)
9392
if (RowHeadersVisible &&
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing)
9471
if (
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing)
9543
if (RowHeadersVisible &&
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing)
9560
&&
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing)
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (4)
132
return (OwningRow.Resizable == DataGridViewTriState.True) || (DataGridView is not null && DataGridView.
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing);
143
return DataGridView is not null && (DataGridView.
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing || DataGridView.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing);
245
if (OwningRow.GetResizable(rowIndex) == DataGridViewTriState.True || (DataGridView is not null && DataGridView.
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing))
286
if (DataGridView.
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing || DataGridView.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
1295
DataGridView.
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.EnableResizing ||
1296
DataGridView.
RowHeadersWidthSizeMode
== DataGridViewRowHeadersWidthSizeMode.DisableResizing)
System.Windows.Forms.Tests (23)
System\Windows\Forms\DataGridViewTests.cs (23)
34
Assert.Equal(DataGridViewRowHeadersWidthSizeMode.EnableResizing, control.
RowHeadersWidthSizeMode
);
1442
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1448
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1484
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1492
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1524
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1533
Assert.Equal(originalRowHeadersWidthSizeMode, control.
RowHeadersWidthSizeMode
);
1560
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1565
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1571
Assert.Equal(DataGridViewRowHeadersWidthSizeMode.EnableResizing, control.
RowHeadersWidthSizeMode
);
1577
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1596
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1601
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1606
Assert.Equal(DataGridViewRowHeadersWidthSizeMode.EnableResizing, control.
RowHeadersWidthSizeMode
);
1612
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1639
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1644
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1649
Assert.Equal(DataGridViewRowHeadersWidthSizeMode.EnableResizing, control.
RowHeadersWidthSizeMode
);
1655
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1695
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1700
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);
1705
Assert.Equal(DataGridViewRowHeadersWidthSizeMode.EnableResizing, control.
RowHeadersWidthSizeMode
);
1711
Assert.Equal(value, control.
RowHeadersWidthSizeMode
);