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;
32 references to FlatStyle
System.Windows.Forms (32)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
86
if (
FlatStyle
!= FlatStyle.System)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (8)
348
if (value ==
FlatStyle
)
617
if (
FlatStyle
== FlatStyle.Standard)
636
FlatStyle
!= FlatStyle.System;
989
||
FlatStyle
!= _cachedAdapterType)
991
switch (
FlatStyle
)
1003
Debug.Fail($"Unsupported FlatStyle: \"{
FlatStyle
}\"");
1007
_cachedAdapterType =
FlatStyle
;
1039
=>
FlatStyle
== FlatStyle.Popup
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
707
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 (3)
21
_buttonDarkModeRenderer = control.
FlatStyle
switch
141
Control.
FlatStyle
,
170
=> Control.
FlatStyle
== FlatStyle.Popup && _modern
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonColorMath.cs (1)
81
ButtonDarkModeRendererBase renderer = owner.
FlatStyle
switch
System\Windows\Forms\Controls\Buttons\CheckBox.Appearance.Docs.cs (1)
17
/// toggle switch, this appearance intentionally takes precedence over <see cref="ButtonBase.
FlatStyle
"/> when
System\Windows\Forms\Controls\Buttons\CheckBox.cs (8)
112
||
FlatStyle
!= FlatStyle.Standard)
346
if (Appearance == Appearance.Button &&
FlatStyle
== FlatStyle.Popup)
355
&&
FlatStyle
is FlatStyle.Standard or FlatStyle.Flat)
357
ButtonBaseAdapter modernAdapter =
FlatStyle
== FlatStyle.Flat
368
if (
FlatStyle
!= FlatStyle.System)
392
else if (
FlatStyle
== FlatStyle.Standard)
526
if (
FlatStyle
== FlatStyle.System)
543
if (
FlatStyle
== FlatStyle.System)
System\Windows\Forms\Controls\Buttons\FlatButtonAppearance.cs (2)
120
&& _owner.
FlatStyle
!= FlatStyle.Popup
147
&& _owner.
FlatStyle
!= FlatStyle.Popup
System\Windows\Forms\Controls\Buttons\RadioButton.cs (5)
202
||
FlatStyle
!= FlatStyle.Standard)
291
if (Appearance == Appearance.Button &&
FlatStyle
== FlatStyle.Popup)
297
if (
FlatStyle
!= FlatStyle.System)
322
else if (
FlatStyle
== FlatStyle.Standard)
335
Appearance == Appearance.Button ||
FlatStyle
== FlatStyle.System
System\Windows\Forms\Rendering\Button\AnimatedPopupButtonRenderer.cs (1)
12
/// Drives and renders a <see cref="Forms.ButtonBase"/> whose <see cref="Forms.ButtonBase.
FlatStyle
"/> is