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