Base:
property
Resizable
System.Windows.Forms.DataGridViewBand.Resizable
39 writes to Resizable
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
2351dataGridViewRow.Resizable = value ? DataGridViewTriState.True : DataGridViewTriState.False;
System.Windows.Forms.Tests (38)
System\Windows\Forms\DataGridViewCellTests.cs (8)
1428Resizable = resizable 1489row.Resizable = DataGridViewTriState.True; 1995Resizable = rowResizable 2022row.Resizable = rowResizable; 4443Resizable = resizable 4504row.Resizable = rowResizable; 4578row.Resizable = rowResizable; 4613row.Resizable = DataGridViewTriState.True;
System\Windows\Forms\DataGridViewHeaderCellTests.cs (12)
869Resizable = rowResizable 884Resizable = columnResizable 939row.Resizable = rowResizable; 963row.Resizable = rowResizable; 1005row.Resizable = rowResizable; 2468Resizable = resizable 2556row.Resizable = rowResizable; 2598row.Resizable = rowResizable; 2666row.Resizable = rowResizable; 2775row.Resizable = rowResizable; 2838row.Resizable = rowResizable; 2926row.Resizable = rowResizable;
System\Windows\Forms\DataGridViewRowTests.cs (18)
2775Resizable = value 2780row.Resizable = value; 2790Resizable = DataGridViewTriState.True 2793row.Resizable = value; 2797row.Resizable = value; 2823row.Resizable = value; 2828row.Resizable = value; 2853row.Resizable = DataGridViewTriState.False; 2858row.Resizable = DataGridViewTriState.False; 2863row.Resizable = DataGridViewTriState.True; 2869row.Resizable = DataGridViewTriState.False; 2885row.Resizable = DataGridViewTriState.True; 2887row.Resizable = value; 2892row.Resizable = value; 2902Assert.Throws<InvalidEnumArgumentException>("value", () => row.Resizable = value); 3939Resizable = DataGridViewTriState.True, 3982Resizable = DataGridViewTriState.True, 4030source.Resizable = DataGridViewTriState.True;
24 references to Resizable
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16058Debug.Assert(Rows[rowIndex].Resizable == DataGridViewTriState.True);
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
507if (OwningRow is not null && (OwningRow.DataGridView is null || RowIndex >= 0) && OwningRow.Resizable == DataGridViewTriState.True)
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
132return (OwningRow.Resizable == DataGridViewTriState.True) || (DataGridView is not null && DataGridView.RowHeadersWidthSizeMode == DataGridViewRowHeadersWidthSizeMode.EnableResizing);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
295throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(Resizable)));
System.Windows.Forms.Tests (20)
System\Windows\Forms\DataGridViewRowTests.cs (20)
43Assert.Equal(DataGridViewTriState.NotSet, row.Resizable); 2740Assert.Equal(expected, row.Resizable); 2754Assert.Throws<InvalidOperationException>(() => row.Resizable); 2766Assert.Throws<InvalidOperationException>(() => row.Resizable); 2777Assert.Equal(value, row.Resizable); 2781Assert.Equal(value, row.Resizable); 2794Assert.Equal(value, row.Resizable); 2798Assert.Equal(value, row.Resizable); 2824Assert.Equal(expected, row.Resizable); 2829Assert.Equal(expected, row.Resizable); 2854Assert.Equal(DataGridViewTriState.False, row.Resizable); 2859Assert.Equal(DataGridViewTriState.False, row.Resizable); 2864Assert.Equal(DataGridViewTriState.True, row.Resizable); 2870Assert.Equal(DataGridViewTriState.False, row.Resizable); 2888Assert.Equal(expected, row.Resizable); 2893Assert.Equal(expected, row.Resizable); 3917Assert.Equal(DataGridViewTriState.NotSet, row.Resizable); 3957Assert.Equal(DataGridViewTriState.True, row.Resizable); 4000Assert.Equal(DataGridViewTriState.True, row.Resizable); 4049Assert.Equal(DataGridViewTriState.True, row.Resizable);