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;
25 references to FlatStyle
System.Windows.Forms (25)
System\Windows\Forms\Controls\Buttons\Button.cs (2)
86if (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: 390if (value == FlatStyle) 659if (FlatStyle == FlatStyle.Standard) 678FlatStyle != FlatStyle.System; 1027|| FlatStyle != _cachedAdapterType) 1029switch (FlatStyle) 1041Debug.Fail($"Unsupported FlatStyle: \"{FlatStyle}\""); 1045_cachedAdapterType = FlatStyle;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
632if (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 (4)
15_buttonDarkModeRenderer = control.FlatStyle switch 88Control.FlatStyle, 126Control.FlatStyle, 164Control.FlatStyle,
System\Windows\Forms\Controls\Buttons\CheckBox.cs (5)
108|| FlatStyle != FlatStyle.Standard) 297if (FlatStyle != FlatStyle.System) 319else if (FlatStyle == FlatStyle.Standard) 430if (FlatStyle == FlatStyle.System) 447if (FlatStyle == FlatStyle.System)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (4)
186|| FlatStyle != FlatStyle.Standard) 266if (FlatStyle != FlatStyle.System) 291else if (FlatStyle == FlatStyle.Standard) 304Appearance == Appearance.Button || FlatStyle == FlatStyle.System