Base:
property
ContextMenuStrip
System.Windows.Forms.DataGridViewBand.ContextMenuStrip
33 writes to ContextMenuStrip
System.Windows.Forms.Tests (33)
System\Windows\Forms\DataGridViewCellTests.cs (3)
120
ContextMenuStrip
= menu
4214
ContextMenuStrip
= menu
4227
ContextMenuStrip
= menu
System\Windows\Forms\DataGridViewHeaderCellTests.cs (2)
2229
ContextMenuStrip
= menu
2242
ContextMenuStrip
= menu
System\Windows\Forms\DataGridViewRowTests.cs (28)
77
row.
ContextMenuStrip
= menu1;
114
row.
ContextMenuStrip
= menu1;
160
ContextMenuStrip
= value
165
row.
ContextMenuStrip
= value;
176
ContextMenuStrip
= oldValue
179
row.
ContextMenuStrip
= value;
183
row.
ContextMenuStrip
= value;
198
row.
ContextMenuStrip
= value;
203
row.
ContextMenuStrip
= value;
219
row.
ContextMenuStrip
= value;
224
row.
ContextMenuStrip
= value;
235
ContextMenuStrip
= menu
250
ContextMenuStrip
= menu1
254
row.
ContextMenuStrip
= menu2;
281
row.
ContextMenuStrip
= menu1;
286
row.
ContextMenuStrip
= menu1;
292
row.
ContextMenuStrip
= menu2;
297
row.
ContextMenuStrip
= null;
303
row.
ContextMenuStrip
= menu1;
3930
ContextMenuStrip
= menu,
3973
ContextMenuStrip
= menu,
4020
source.
ContextMenuStrip
= menu;
4174
ContextMenuStrip
= new ContextMenuStrip()
4261
row.
ContextMenuStrip
= menu;
4277
row1.
ContextMenuStrip
= menu1;
4280
row2.
ContextMenuStrip
= menu2;
4301
row.
ContextMenuStrip
= menu1;
4338
row.
ContextMenuStrip
= menu1;
36 references to ContextMenuStrip
System.Windows.Forms.Tests (36)
System\Windows\Forms\DataGridViewRowTests.cs (36)
20
Assert.Null(row.
ContextMenuStrip
);
61
Assert.Null(row.
ContextMenuStrip
);
90
Assert.Same(menu2, row.
ContextMenuStrip
);
95
Assert.Same(menu1, row.
ContextMenuStrip
);
127
Assert.Same(menu2, row.
ContextMenuStrip
);
132
Assert.Same(menu1, row.
ContextMenuStrip
);
145
Assert.Throws<InvalidOperationException>(() => row.
ContextMenuStrip
);
162
Assert.Same(value, row.
ContextMenuStrip
);
166
Assert.Same(value, row.
ContextMenuStrip
);
180
Assert.Same(value, row.
ContextMenuStrip
);
184
Assert.Same(value, row.
ContextMenuStrip
);
199
Assert.Same(value, row.
ContextMenuStrip
);
204
Assert.Same(value, row.
ContextMenuStrip
);
220
Assert.Throws<InvalidOperationException>(() => row.
ContextMenuStrip
);
225
Assert.Throws<InvalidOperationException>(() => row.
ContextMenuStrip
);
237
Assert.Same(menu, row.
ContextMenuStrip
);
240
Assert.Null(row.
ContextMenuStrip
);
252
Assert.Same(menu1, row.
ContextMenuStrip
);
255
Assert.Same(menu2, row.
ContextMenuStrip
);
258
Assert.Same(menu2, row.
ContextMenuStrip
);
282
Assert.Same(menu1, row.
ContextMenuStrip
);
287
Assert.Same(menu1, row.
ContextMenuStrip
);
293
Assert.Same(menu2, row.
ContextMenuStrip
);
298
Assert.Null(row.
ContextMenuStrip
);
304
Assert.Same(menu1, row.
ContextMenuStrip
);
3906
Assert.Null(row.
ContextMenuStrip
);
3943
Assert.NotNull(row.
ContextMenuStrip
);
3944
Assert.NotSame(menu, row.
ContextMenuStrip
);
3986
Assert.NotNull(row.
ContextMenuStrip
);
3987
Assert.NotSame(menu, row.
ContextMenuStrip
);
4035
Assert.NotNull(row.
ContextMenuStrip
);
4036
Assert.NotSame(menu, row.
ContextMenuStrip
);
4162
Assert.Null(row.
ContextMenuStrip
);
4166
Assert.Null(row.
ContextMenuStrip
);
4177
Assert.NotNull(row.
ContextMenuStrip
);
4181
Assert.NotNull(row.
ContextMenuStrip
);