65 references to Popup
System.Windows.Forms (61)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
996
case FlatStyle.
Popup
:
1039
=> FlatStyle == FlatStyle.
Popup
System\Windows\Forms\Controls\Buttons\ButtonBase.FlatStyle.Docs.cs (1)
16
/// <see cref="FlatStyle.Flat"/>, and <see cref="FlatStyle.
Popup
"/> select framework-defined modern
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxModernAdapter.cs (1)
57
FlatStyle.
Popup
=> DarkModeAdapterFactory.CreatePopupAdapter(Control),
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (2)
25
FlatStyle.
Popup
=> _modern ? new ModernButtonDarkModeRenderer() : new PopupButtonDarkModeRenderer(),
170
=> Control.FlatStyle == FlatStyle.
Popup
&& _modern
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonColorMath.cs (1)
83
FlatStyle.Standard or FlatStyle.
Popup
=> new ModernButtonDarkModeRenderer(),
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\PopupButtonDarkModeRenderer.cs (1)
12
/// Renders a Classic <see cref="FlatStyle.
Popup
"/> button in dark mode.
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonModernAdapter.cs (1)
57
FlatStyle.
Popup
=> DarkModeAdapterFactory.CreatePopupAdapter(Control),
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
346
if (Appearance == Appearance.Button && FlatStyle == FlatStyle.
Popup
)
690
? new CheckBoxModernAdapter(this, FlatStyle.
Popup
)
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 (2)
291
if (Appearance == Appearance.Button && FlatStyle == FlatStyle.
Popup
)
546
? new RadioButtonModernAdapter(this, FlatStyle.
Popup
)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
781
&& FlatStyle == FlatStyle.
Popup
))
1608
if (FlatStyle == FlatStyle.
Popup
)
1652
if (FlatStyle == FlatStyle.
Popup
)
2770
or FlatStyle.
Popup
))
3813
&& (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.
Popup
))
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
112
if ((!comboBox.Enabled) || (comboBox.FlatStyle == FlatStyle.
Popup
))
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatStyle.Docs.cs (1)
17
/// and <see cref="FlatStyle.
Popup
"/> uses Standard geometry with a Windows-accent border. Each style adds
System\Windows\Forms\Controls\ComboBox\ComboBox.Modern.cs (1)
24
|| FlatStyle is FlatStyle.Flat or FlatStyle.
Popup
;
System\Windows\Forms\Controls\ComboBox\ComboBox.ModernComboAdapter.cs (1)
111
case FlatStyle.
Popup
:
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (5)
533
(DataGridView.ApplyVisualStylesToInnerCells || FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.
Popup
))
558
if (DataGridView.ApplyVisualStylesToInnerCells || FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.
Popup
)
795
Debug.Assert(FlatStyle == FlatStyle.
Popup
, "FlatStyle.Popup is the last flat style");
925
Debug.Assert(FlatStyle == FlatStyle.
Popup
, "FlatStyle.Popup is the last flat style");
964
FlatStyle != FlatStyle.Flat && FlatStyle != FlatStyle.
Popup
)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (8)
666
case FlatStyle.
Popup
:
699
FlatStyle.
Popup
=> CheckBoxRenderer.GetGlyphSize(graphics, CheckBoxState.UncheckedNormal).Width - 2,
886
(DataGridView.ApplyVisualStylesToInnerCells || FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.
Popup
))
911
if (DataGridView.ApplyVisualStylesToInnerCells || FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.
Popup
)
1181
case FlatStyle.
Popup
:
1196
case FlatStyle.
Popup
:
1239
if (DataGridView.ApplyVisualStylesToInnerCells && FlatStyle != FlatStyle.Flat && FlatStyle != FlatStyle.
Popup
)
1387
Debug.Assert(FlatStyle == FlatStyle.
Popup
);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (6)
401
bool paintFlat = FlatStyle is FlatStyle.Flat or FlatStyle.
Popup
;
1206
if (FlatStyle is FlatStyle.Flat or FlatStyle.
Popup
)
1692
if (DisplayStyle == DataGridViewComboBoxDisplayStyle.ComboBox && FlatStyle == FlatStyle.
Popup
)
1719
if (DisplayStyle == DataGridViewComboBoxDisplayStyle.ComboBox && FlatStyle == FlatStyle.
Popup
)
1888
bool paintFlat = FlatStyle is FlatStyle.Flat or FlatStyle.
Popup
;
1889
bool paintPopup = FlatStyle == FlatStyle.
Popup
&&
System\Windows\Forms\Controls\GroupBox\GroupBox.FlatStyle.Docs.cs (1)
17
/// ambient-size inline caption, and <see cref="FlatStyle.
Popup
"/> renders a Windows-accent header band.
System\Windows\Forms\Controls\GroupBox\GroupBox.Modern.cs (2)
109
case FlatStyle.
Popup
:
196
case FlatStyle.
Popup
:
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (2)
47
FlatStyle = FlatStyle.
Popup
,
182
[DefaultValue(FlatStyle.
Popup
)]
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
12
FlatStyle = FlatStyle.
Popup
;
System\Windows\Forms\Rendering\Button\AnimatedPopupButtonRenderer.cs (1)
13
/// <see cref="FlatStyle.
Popup
"/> when modern visual styles or dark mode are active, using the concave key-cap
System\Windows\Forms\Rendering\Button\PopupButtonAnimationState.cs (1)
7
/// Immutable snapshot of the animation progress of a <see cref="FlatStyle.
Popup
"/> key-cap button.
System\Windows\Forms\Rendering\Button\PopupButtonColorMath.cs (1)
7
/// Color utilities used by the <see cref="FlatStyle.
Popup
"/> key-cap renderer to derive material shading
System\Windows\Forms\Rendering\Button\PopupButtonEasing.cs (1)
7
/// Easing functions for the <see cref="FlatStyle.
Popup
"/> key-cap state-change animations.
System\Windows\Forms\Rendering\Button\PopupButtonKeyCapRenderer.cs (1)
12
/// and a shallow bowl - used for the <see cref="FlatStyle.
Popup
"/> button visual style for arbitrary colors,
System\Windows\Forms\Rendering\Button\PopupButtonMetric.cs (1)
7
/// A DPI-neutral, generic magnitude used to tune the <see cref="FlatStyle.
Popup
"/> key-cap renderer
System\Windows\Forms\Rendering\Button\PopupButtonRenderContext.cs (1)
9
/// Carries every piece of information the <see cref="FlatStyle.
Popup
"/> key-cap renderer needs, without a
System\Windows\Forms\Rendering\Button\PopupButtonRenderOptions.cs (1)
7
/// Tunable rendering options for the <see cref="FlatStyle.
Popup
"/> key-cap renderer.
System\Windows\Forms\Rendering\Button\PopupButtonTextEffect.cs (1)
7
/// Determines how the caption of a <see cref="FlatStyle.
Popup
"/> key-cap button is physically integrated
System\Windows\Forms\Rendering\CheckBox\AnimatedCheckGlyphRenderer.cs (2)
144
Control.LogicalToDeviceUnits(flatStyle == FlatStyle.
Popup
? 2 : 1));
253
double radiusFactor = flatStyle == FlatStyle.
Popup
? 0.3 : 0.2;
System\Windows\Forms\Rendering\RadioButton\AnimatedRadioGlyphRenderer.cs (1)
143
Control.LogicalToDeviceUnits(flatStyle == FlatStyle.
Popup
? 2 : 1));
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ButtonBaseDesigner.cs (4)
126
else if (flatStyle is FlatStyle.Flat or FlatStyle.
Popup
)
147
else if (flatStyle is FlatStyle.Flat or FlatStyle.
Popup
)
174
if (flatStyle is FlatStyle.Standard or FlatStyle.Flat or FlatStyle.
Popup
)
199
if (flatStyle is FlatStyle.Standard or FlatStyle.
Popup
)