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