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