18 writes to Renderer
System.Windows.Forms.Tests (18)
System\Windows\Forms\ToolStripContentPanelTests.cs (18)
1150
control.
Renderer
= value;
1157
control.
Renderer
= value;
1164
control.
Renderer
= null;
1190
control.
Renderer
= value;
1200
control.
Renderer
= value;
1210
control.
Renderer
= null;
1231
control.
Renderer
= mockToolStripRenderer.Object;
1236
control.
Renderer
= mockToolStripRenderer.Object;
1256
control.
Renderer
= renderer;
1261
control.
Renderer
= renderer;
1266
control.
Renderer
= null;
1274
control.
Renderer
= renderer;
1447
item.
Renderer
= new SubToolStripRenderer();
1475
item.
Renderer
= new SubToolStripRenderer();
1860
Renderer
= renderer
1911
Renderer
= renderer
1943
Renderer
= renderer
1992
control.
Renderer
= mockToolStripRenderer.Object;
44 references to Renderer
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (3)
320
Renderer
.DrawToolStripContentPanelBackground(rea);
331
if (
Renderer
is ToolStripProfessionalRenderer)
343
Renderer
.InitializeContentPanel(this);
System.Windows.Forms.Tests (41)
System\Windows\Forms\ToolStripContentPanelTests.cs (41)
100
Assert.IsType<ToolStripSystemRenderer>(control.
Renderer
);
101
Assert.Same(control.
Renderer
, control.
Renderer
);
1120
Assert.IsType<ToolStripSystemRenderer>(control.
Renderer
);
1123
Assert.Same(control.
Renderer
, control.
Renderer
);
1151
Assert.Same(value, control.
Renderer
);
1158
Assert.Same(value, control.
Renderer
);
1165
Assert.NotNull(control.
Renderer
);
1166
Assert.NotSame(value, control.
Renderer
);
1167
Assert.Same(control.
Renderer
, control.
Renderer
);
1191
Assert.Same(value, control.
Renderer
);
1201
Assert.Same(value, control.
Renderer
);
1211
Assert.NotNull(control.
Renderer
);
1212
Assert.NotSame(value, control.
Renderer
);
1213
Assert.Same(control.
Renderer
, control.
Renderer
);
1232
Assert.Same(mockToolStripRenderer.Object, control.
Renderer
);
1237
Assert.Same(mockToolStripRenderer.Object, control.
Renderer
);
1257
Assert.Same(renderer, control.
Renderer
);
1262
Assert.Same(renderer, control.
Renderer
);
1267
Assert.NotNull(control.
Renderer
);
1268
Assert.NotSame(renderer, control.
Renderer
);
1269
Assert.Same(control.
Renderer
, control.
Renderer
);
1275
Assert.Same(renderer, control.
Renderer
);
1301
Assert.NotNull(control.
Renderer
);
1302
Assert.Same(control.
Renderer
, control.
Renderer
);
1303
Assert.IsType<ToolStripSystemRenderer>(control.
Renderer
);
1310
Assert.IsType(expectedRendererType, control.
Renderer
);
1317
Assert.IsType(expectedRendererType, control.
Renderer
);
1387
Assert.NotNull(control.
Renderer
);
1388
Assert.Same(control.
Renderer
, control.
Renderer
);
1389
Assert.IsType<ToolStripSystemRenderer>(control.
Renderer
);
1399
Assert.IsType(expectedRendererType, control.
Renderer
);
1409
Assert.IsType(expectedRendererType, control.
Renderer
);
1735
Assert.NotNull(control.
Renderer
);
1993
Assert.Same(mockToolStripRenderer.Object, control.
Renderer
);