47 references to ManagerRenderMode
System.Windows.Forms (10)
System\Windows\Forms\Controls\ToolStrips\StatusStrip.cs (1)
35
RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (5)
1506
if (RenderMode == ToolStripRenderMode.
ManagerRenderMode
)
1552
return ToolStripRenderMode.
ManagerRenderMode
;
1577
if (value == ToolStripRenderMode.
ManagerRenderMode
)
4022
RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
4474
return (RenderMode is not ToolStripRenderMode.
ManagerRenderMode
and not ToolStripRenderMode.Custom);
System\Windows\Forms\Controls\ToolStrips\ToolStripRendererSwitcher.cs (4)
19
private readonly ToolStripRenderMode _defaultRenderMode = ToolStripRenderMode.
ManagerRenderMode
;
43
if (RenderMode == ToolStripRenderMode.
ManagerRenderMode
)
80
return ToolStripRenderMode.
ManagerRenderMode
;
111
if (value == ToolStripRenderMode.
ManagerRenderMode
)
System.Windows.Forms.Tests (37)
System\Windows\Forms\MdiControlStripTests.cs (1)
128
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, mdiControlStrip.RenderMode);
System\Windows\Forms\MenuStripTests.cs (1)
126
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
System\Windows\Forms\StatusStripTests.cs (9)
126
Assert.True(control.RenderMode is ToolStripRenderMode.System or ToolStripRenderMode.
ManagerRenderMode
);
468
[InlineData(ToolStripRenderMode.
ManagerRenderMode
, typeof(ToolStripProfessionalRenderer), 2)]
511
[InlineData(ToolStripRenderMode.
ManagerRenderMode
, typeof(ToolStripProfessionalRenderer), 1)]
565
control.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
566
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
570
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
593
control.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
594
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
598
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
System\Windows\Forms\ToolStripContentPanelTests.cs (10)
1168
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
1214
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
1284
[InlineData(ToolStripRenderMode.
ManagerRenderMode
, typeof(ToolStripProfessionalRenderer), 3)]
1353
control.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
1354
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
1363
[InlineData(ToolStripRenderMode.
ManagerRenderMode
, typeof(ToolStripProfessionalRenderer), 3)]
1451
item.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
1452
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, item.RenderMode);
1479
item.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
1480
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, item.RenderMode);
System\Windows\Forms\ToolStripDropDownTests.cs (1)
134
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
System\Windows\Forms\ToolStripTests.cs (15)
142
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
297
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
3247
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
3307
control.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
3308
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
3327
control.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
3328
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
3364
control.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
3365
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
3391
control.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
3392
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
3396
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
3419
control.RenderMode = ToolStripRenderMode.
ManagerRenderMode
;
3420
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);
3424
Assert.Equal(ToolStripRenderMode.
ManagerRenderMode
, control.RenderMode);