49 references to System
System.Windows.Forms (43)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
86
if (FlatStyle != FlatStyle.
System
)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (1)
636
FlatStyle != FlatStyle.
System
;
System\Windows\Forms\Controls\Buttons\ButtonBase.FlatStyle.Docs.cs (1)
21
/// <see cref="FlatStyle.
System
"/> requests the native control and is not modernized. A two-state
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
707
if (Control.FlatStyle != FlatStyle.
System
)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (1)
26
FlatStyle.
System
=> new SystemButtonDarkModeRenderer(),
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonColorMath.cs (1)
85
FlatStyle.
System
=> new SystemButtonDarkModeRenderer(),
System\Windows\Forms\Controls\Buttons\CheckBox.Appearance.Docs.cs (1)
18
/// that property is <see cref="FlatStyle.
System
"/>. A check box with <see cref="ThreeState"/> enabled retains
System\Windows\Forms\Controls\Buttons\CheckBox.cs (3)
368
if (FlatStyle != FlatStyle.
System
)
526
if (FlatStyle == FlatStyle.
System
)
543
if (FlatStyle == FlatStyle.
System
)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
297
if (FlatStyle != FlatStyle.
System
)
335
Appearance == Appearance.Button || FlatStyle == FlatStyle.
System
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatStyle.Docs.cs (1)
19
/// <see cref="FlatStyle.
System
"/> style is not modernized.
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (4)
20
&& FlatStyle != FlatStyle.
System
;
657
bool recreateSystemHandle = FlatStyle == FlatStyle.
System
751
/// transitions only repaint. <see cref="FlatStyle.
System
"/> remains native.
758
if (FlatStyle == FlatStyle.
System
)
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (4)
76
Debug.Assert(value is >= FlatStyle.Flat and <= FlatStyle.
System
);
715
case FlatStyle.
System
:
885
if (FlatStyle is FlatStyle.
System
or FlatStyle.Standard)
975
(FlatStyle == FlatStyle.
System
|| FlatStyle == FlatStyle.Standard))
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
251
Debug.Assert(value is >= FlatStyle.Flat and <= FlatStyle.
System
);
660
case FlatStyle.
System
:
1175
case FlatStyle.
System
:
1253
if (FlatStyle is FlatStyle.
System
or FlatStyle.Standard)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
363
Debug.Assert(value is >= FlatStyle.Flat and <= FlatStyle.
System
);
1712
(FlatStyle == FlatStyle.Standard || FlatStyle == FlatStyle.
System
) &&
1734
if ((FlatStyle == FlatStyle.Standard || FlatStyle == FlatStyle.
System
) && DataGridView.ApplyVisualStylesToInnerCells)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
194
if (value != FlatStyle.
System
)
237
private bool OwnerDraw => FlatStyle != FlatStyle.
System
;
System\Windows\Forms\Controls\GroupBox\GroupBox.FlatStyle.Docs.cs (1)
18
/// <see cref="FlatStyle.
System
"/> remains a native <c>BS_GROUPBOX</c> in every mode.
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (1)
784
if (FlatStyle == FlatStyle.
System
)
System\Windows\Forms\Controls\Labels\Label.cs (7)
34
private static readonly BitVector32.Section s_stateFlatStyle = BitVector32.CreateSection((int)FlatStyle.
System
, s_stateAnimating);
334
bool needRecreate = (_labelState[s_stateFlatStyle] == (int)FlatStyle.
System
) || (value == FlatStyle.
System
);
1045
internal virtual bool UseGDIMeasuring() => (FlatStyle == FlatStyle.
System
|| !UseCompatibleTextRendering);
1072
TextFormatFlags format = FlatStyle == FlatStyle.
System
? TextFormatFlags.Default : CreateTextFormatFlags(proposedConstraints);
1104
if (UseCompatibleTextRendering && FlatStyle != FlatStyle.
System
)
1144
private bool IsOwnerDraw() => FlatStyle != FlatStyle.
System
;
System\Windows\Forms\Design\ComponentEditorForm.cs (4)
270
_helpButton.FlatStyle = FlatStyle.
System
;
277
_applyButton.FlatStyle = FlatStyle.
System
;
283
_cancelButton.FlatStyle = FlatStyle.
System
;
290
_okButton.FlatStyle = FlatStyle.
System
;
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\ButtonBaseDesigner.cs (6)
107
if (flatStyle is FlatStyle.Standard or FlatStyle.
System
)
122
else if (flatStyle == FlatStyle.
System
)
143
else if (flatStyle == FlatStyle.
System
)
163
if (flatStyle == FlatStyle.
System
)
178
else if (flatStyle == FlatStyle.
System
)
203
else if (flatStyle == FlatStyle.
System
)