49 references to ToolStripRenderMode
System.Windows.Forms (47)
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (2)
1330
this.toolStrip1.RenderMode = System.Windows.Forms.
ToolStripRenderMode
.System;
1550
menu.RenderMode = System.Windows.Forms.
ToolStripRenderMode
.System;
winforms\Managed\System\WinForms\StatusStrip.cs (4)
47
this.RenderMode =
ToolStripRenderMode
.System;
431
RenderMode =
ToolStripRenderMode
.System;
435
return (RenderMode !=
ToolStripRenderMode
.System && RenderMode !=
ToolStripRenderMode
.Custom);
winforms\Managed\System\WinForms\ToolStrip.cs (15)
1685
if (RenderMode ==
ToolStripRenderMode
.ManagerRenderMode) {
1725
public
ToolStripRenderMode
RenderMode {
1728
return
ToolStripRenderMode
.ManagerRenderMode;
1731
return
ToolStripRenderMode
.Custom;
1736
return
ToolStripRenderMode
.Professional;
1739
return
ToolStripRenderMode
.System;
1741
return
ToolStripRenderMode
.Custom;
1746
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
ToolStripRenderMode
.Custom, (int)
ToolStripRenderMode
.ManagerRenderMode)){
1747
throw new InvalidEnumArgumentException("value", (int)value, typeof(
ToolStripRenderMode
));
1749
if (value ==
ToolStripRenderMode
.Custom) {
1753
if (value ==
ToolStripRenderMode
.ManagerRenderMode) {
4132
RenderMode =
ToolStripRenderMode
.ManagerRenderMode;
4578
return (RenderMode !=
ToolStripRenderMode
.ManagerRenderMode && RenderMode !=
ToolStripRenderMode
.Custom);
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (2)
300
rendererSwitcher = new ToolStripRendererSwitcher(this,
ToolStripRenderMode
.System);
327
public
ToolStripRenderMode
RenderMode {
winforms\Managed\System\WinForms\ToolStripManager.cs (4)
593
internal static ToolStripRenderer CreateRenderer(
ToolStripRenderMode
renderMode) {
595
case
ToolStripRenderMode
.System:
597
case
ToolStripRenderMode
.Professional:
599
case
ToolStripRenderMode
.Custom:
winforms\Managed\System\WinForms\ToolStripManagerRenderMode.cs (3)
16
Custom =
ToolStripRenderMode
.Custom,
18
System =
ToolStripRenderMode
.System,
20
Professional =
ToolStripRenderMode
.Professional
winforms\Managed\System\WinForms\ToolStripPanel.cs (1)
288
public
ToolStripRenderMode
RenderMode {
winforms\Managed\System\WinForms\ToolStripRendererSwitcher.cs (16)
27
private
ToolStripRenderMode
defaultRenderMode =
ToolStripRenderMode
.ManagerRenderMode;
29
public ToolStripRendererSwitcher(Control owner,
ToolStripRenderMode
defaultRenderMode) : this(owner) {
48
if (RenderMode ==
ToolStripRenderMode
.ManagerRenderMode) {
74
public
ToolStripRenderMode
RenderMode {
77
return
ToolStripRenderMode
.ManagerRenderMode;
80
return
ToolStripRenderMode
.Custom;
85
return
ToolStripRenderMode
.Professional;
88
return
ToolStripRenderMode
.System;
90
return
ToolStripRenderMode
.Custom;
95
if (!ClientUtils.IsEnumValid(value, (int)value, (int)
ToolStripRenderMode
.Custom, (int)
ToolStripRenderMode
.ManagerRenderMode))
97
throw new InvalidEnumArgumentException("value", (int)value, typeof(
ToolStripRenderMode
));
99
if (value ==
ToolStripRenderMode
.Custom) {
103
if (value ==
ToolStripRenderMode
.ManagerRenderMode) {
156
return (RenderMode != defaultRenderMode && RenderMode !=
ToolStripRenderMode
.Custom);
System.Workflow.Activities (2)
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
119
this.rulesToolStrip.RenderMode = System.Windows.Forms.
ToolStripRenderMode
.System;
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (1)
160
this.rulesToolStrip.RenderMode = System.Windows.Forms.
ToolStripRenderMode
.System;