Base:
property
Frozen
System.Windows.Forms.DataGridViewBand.Frozen
42 writes to Frozen
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (1)
2339
dataGridViewRow.
Frozen
= value;
System.Windows.Forms.Tests (41)
System\Windows\Forms\DataGridViewCellTests.cs (8)
1348
Frozen
= rowFrozen
1383
row.
Frozen
= rowFrozen;
1425
Frozen
= true,
1488
row.
Frozen
= true;
4440
Frozen
= true,
4505
row.
Frozen
= rowFrozen;
4579
row.
Frozen
= rowFrozen;
4612
row.
Frozen
= true;
System\Windows\Forms\DataGridViewHeaderCellTests.cs (9)
468
Frozen
= rowFrozen
503
row.
Frozen
= rowFrozen;
2465
Frozen
= true,
2557
row.
Frozen
= rowFrozen;
2599
row.
Frozen
= rowFrozen;
2667
row.
Frozen
= rowFrozen;
2776
row.
Frozen
= rowFrozen;
2839
row.
Frozen
= rowFrozen;
2927
row.
Frozen
= rowFrozen;
System\Windows\Forms\DataGridViewRowTests.cs (24)
1172
Frozen
= value
1178
row.
Frozen
= value;
1183
row.
Frozen
= !value;
1199
row.
Frozen
= value;
1205
row.
Frozen
= value;
1211
row.
Frozen
= !value;
1236
row.
Frozen
= value;
1245
row.
Frozen
= value;
1254
row.
Frozen
= !value;
1282
row3.
Frozen
= true;
1289
row3.
Frozen
= true;
1296
row4.
Frozen
= true;
1303
row3.
Frozen
= false;
1310
row1.
Frozen
= false;
1337
row.
Frozen
= true;
1342
row.
Frozen
= true;
1347
row.
Frozen
= false;
1353
row.
Frozen
= true;
1370
Assert.Throws<InvalidOperationException>(() => control.Rows.SharedRow(0).
Frozen
= value);
3259
Frozen
= frozen,
3286
row.
Frozen
= frozen;
3935
Frozen
= true,
3978
Frozen
= true,
4025
source.
Frozen
= true;
48 references to Frozen
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2320
if (!Rows[firstDisplayedCell.RowIndex].
Frozen
)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
5270
currentRowFrozen = dataGridViewRows[arrayIndex].
Frozen
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
266
return OwningColumn!.Frozen && OwningRow!.
Frozen
;
270
return OwningRow.
Frozen
;
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
94
return OwningRow.
Frozen
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
183
throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertyGetOnSharedRow, nameof(
Frozen
)));
192
throw new InvalidOperationException(string.Format(SR.DataGridView_InvalidPropertySetOnSharedRow, nameof(
Frozen
)));
System.Windows.Forms.Tests (41)
System\Windows\Forms\DataGridViewRowTests.cs (41)
29
Assert.False(row.
Frozen
);
1125
Assert.Equal(expected, row.
Frozen
);
1139
Assert.False(control.Rows[0].
Frozen
);
1153
Assert.Throws<InvalidOperationException>(() => control.Rows.SharedRow(0).
Frozen
);
1174
Assert.Equal(value, row.
Frozen
);
1179
Assert.Equal(value, row.
Frozen
);
1184
Assert.Equal(!value, row.
Frozen
);
1200
Assert.Equal(value, row.
Frozen
);
1206
Assert.Equal(value, row.
Frozen
);
1212
Assert.Equal(!value, row.
Frozen
);
1237
Assert.Equal(value, row.
Frozen
);
1246
Assert.Equal(value, row.
Frozen
);
1255
Assert.Equal(!value, row.
Frozen
);
1283
Assert.True(row1.
Frozen
);
1284
Assert.Equal(previousVisible, row2.
Frozen
);
1285
Assert.True(row3.
Frozen
);
1286
Assert.False(row4.
Frozen
);
1290
Assert.True(row1.
Frozen
);
1291
Assert.Equal(previousVisible, row2.
Frozen
);
1292
Assert.True(row3.
Frozen
);
1293
Assert.False(row4.
Frozen
);
1297
Assert.True(row1.
Frozen
);
1298
Assert.Equal(previousVisible, row2.
Frozen
);
1299
Assert.True(row3.
Frozen
);
1300
Assert.True(row4.
Frozen
);
1304
Assert.True(row1.
Frozen
);
1305
Assert.Equal(previousVisible, row2.
Frozen
);
1306
Assert.False(row3.
Frozen
);
1307
Assert.False(row4.
Frozen
);
1311
Assert.False(row1.
Frozen
);
1312
Assert.False(row2.
Frozen
);
1313
Assert.False(row3.
Frozen
);
1314
Assert.False(row4.
Frozen
);
1338
Assert.True(row.
Frozen
);
1343
Assert.True(row.
Frozen
);
1348
Assert.False(row.
Frozen
);
1354
Assert.True(row.
Frozen
);
3912
Assert.False(row.
Frozen
);
3951
Assert.True(row.
Frozen
);
3994
Assert.True(row.
Frozen
);
4043
Assert.True(row.
Frozen
);