11 writes to FlatStyle
PresentationUI (3)
MS\Internal\Documents\RMPublishingDialog.cs (3)
522
button.
FlatStyle
= FlatStyle.Flat;
801
button?.
FlatStyle
= FlatStyle.Standard;
814
button?.
FlatStyle
= FlatStyle.Flat;
System.Windows.Forms (8)
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\Dialogs\ThreadExceptionDialog.cs (4)
271
_continueButton.
FlatStyle
= FlatStyle.Standard;
275
_quitButton.
FlatStyle
= FlatStyle.Standard;
279
_helpButton.
FlatStyle
= FlatStyle.Standard;
283
_detailsButton.
FlatStyle
= FlatStyle.Standard;
25 references to FlatStyle
System.Windows.Forms (25)
System\Windows\Forms\Controls\Buttons\Button.cs (2)
86
if (
FlatStyle
!= FlatStyle.System)
176
&&
FlatStyle
== FlatStyle.Standard)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (8)
345
/// The <see cref="
FlatStyle
"/> property determines how the button is rendered. The following values are supported:
390
if (value ==
FlatStyle
)
659
if (
FlatStyle
== FlatStyle.Standard)
678
FlatStyle
!= FlatStyle.System;
1027
||
FlatStyle
!= _cachedAdapterType)
1029
switch (
FlatStyle
)
1041
Debug.Fail($"Unsupported FlatStyle: \"{
FlatStyle
}\"");
1045
_cachedAdapterType =
FlatStyle
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
632
if (Control.
FlatStyle
!= FlatStyle.System)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
160
if (Application.RenderWithVisualStyles && Control.
FlatStyle
!= FlatStyle.Standard)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (4)
15
_buttonDarkModeRenderer = control.
FlatStyle
switch
88
Control.
FlatStyle
,
126
Control.
FlatStyle
,
164
Control.
FlatStyle
,
System\Windows\Forms\Controls\Buttons\CheckBox.cs (5)
108
||
FlatStyle
!= FlatStyle.Standard)
297
if (
FlatStyle
!= FlatStyle.System)
319
else if (
FlatStyle
== FlatStyle.Standard)
430
if (
FlatStyle
== FlatStyle.System)
447
if (
FlatStyle
== FlatStyle.System)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (4)
186
||
FlatStyle
!= FlatStyle.Standard)
266
if (
FlatStyle
!= FlatStyle.System)
291
else if (
FlatStyle
== FlatStyle.Standard)
304
Appearance == Appearance.Button ||
FlatStyle
== FlatStyle.System