11 writes to FlatStyle
PresentationUI (3)
MS\Internal\Documents\RMPublishingDialog.cs (3)
522button.FlatStyle = FlatStyle.Flat; 801button?.FlatStyle = FlatStyle.Standard; 814button?.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)
86if (FlatStyle != FlatStyle.System)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (8)
348if (value == FlatStyle) 617if (FlatStyle == FlatStyle.Standard) 636FlatStyle != FlatStyle.System; 989|| FlatStyle != _cachedAdapterType) 991switch (FlatStyle) 1003Debug.Fail($"Unsupported FlatStyle: \"{FlatStyle}\""); 1007_cachedAdapterType = FlatStyle; 1039=> FlatStyle == FlatStyle.Popup
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
707if (Control.FlatStyle != FlatStyle.System)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
160if (Application.RenderWithVisualStyles && Control.FlatStyle != FlatStyle.Standard)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (3)
21_buttonDarkModeRenderer = control.FlatStyle switch 141Control.FlatStyle, 170=> Control.FlatStyle == FlatStyle.Popup && _modern
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonColorMath.cs (1)
81ButtonDarkModeRendererBase 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) 346if (Appearance == Appearance.Button && FlatStyle == FlatStyle.Popup) 355&& FlatStyle is FlatStyle.Standard or FlatStyle.Flat) 357ButtonBaseAdapter modernAdapter = FlatStyle == FlatStyle.Flat 368if (FlatStyle != FlatStyle.System) 392else if (FlatStyle == FlatStyle.Standard) 526if (FlatStyle == FlatStyle.System) 543if (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) 291if (Appearance == Appearance.Button && FlatStyle == FlatStyle.Popup) 297if (FlatStyle != FlatStyle.System) 322else if (FlatStyle == FlatStyle.Standard) 335Appearance == 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