65 references to Popup
System.Windows.Forms (61)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
996case 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)
57FlatStyle.Popup => DarkModeAdapterFactory.CreatePopupAdapter(Control),
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (2)
25FlatStyle.Popup => _modern ? new ModernButtonDarkModeRenderer() : new PopupButtonDarkModeRenderer(), 170=> Control.FlatStyle == FlatStyle.Popup && _modern
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ModernButtonColorMath.cs (1)
83FlatStyle.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)
57FlatStyle.Popup => DarkModeAdapterFactory.CreatePopupAdapter(Control),
System\Windows\Forms\Controls\Buttons\CheckBox.cs (2)
346if (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)
291if (Appearance == Appearance.Button && FlatStyle == FlatStyle.Popup) 546? new RadioButtonModernAdapter(this, FlatStyle.Popup)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
781&& FlatStyle == FlatStyle.Popup)) 1608if (FlatStyle == FlatStyle.Popup) 1652if (FlatStyle == FlatStyle.Popup) 2770or FlatStyle.Popup)) 3813&& (FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup))
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
112if ((!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)
111case FlatStyle.Popup:
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (5)
533(DataGridView.ApplyVisualStylesToInnerCells || FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup)) 558if (DataGridView.ApplyVisualStylesToInnerCells || FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup) 795Debug.Assert(FlatStyle == FlatStyle.Popup, "FlatStyle.Popup is the last flat style"); 925Debug.Assert(FlatStyle == FlatStyle.Popup, "FlatStyle.Popup is the last flat style"); 964FlatStyle != FlatStyle.Flat && FlatStyle != FlatStyle.Popup)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (8)
666case FlatStyle.Popup: 699FlatStyle.Popup => CheckBoxRenderer.GetGlyphSize(graphics, CheckBoxState.UncheckedNormal).Width - 2, 886(DataGridView.ApplyVisualStylesToInnerCells || FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup)) 911if (DataGridView.ApplyVisualStylesToInnerCells || FlatStyle == FlatStyle.Flat || FlatStyle == FlatStyle.Popup) 1181case FlatStyle.Popup: 1196case FlatStyle.Popup: 1239if (DataGridView.ApplyVisualStylesToInnerCells && FlatStyle != FlatStyle.Flat && FlatStyle != FlatStyle.Popup) 1387Debug.Assert(FlatStyle == FlatStyle.Popup);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (6)
401bool paintFlat = FlatStyle is FlatStyle.Flat or FlatStyle.Popup; 1206if (FlatStyle is FlatStyle.Flat or FlatStyle.Popup) 1692if (DisplayStyle == DataGridViewComboBoxDisplayStyle.ComboBox && FlatStyle == FlatStyle.Popup) 1719if (DisplayStyle == DataGridViewComboBoxDisplayStyle.ComboBox && FlatStyle == FlatStyle.Popup) 1888bool paintFlat = FlatStyle is FlatStyle.Flat or FlatStyle.Popup; 1889bool 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)
109case FlatStyle.Popup: 196case FlatStyle.Popup:
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (2)
47FlatStyle = FlatStyle.Popup, 182[DefaultValue(FlatStyle.Popup)]
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
12FlatStyle = 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)
144Control.LogicalToDeviceUnits(flatStyle == FlatStyle.Popup ? 2 : 1)); 253double radiusFactor = flatStyle == FlatStyle.Popup ? 0.3 : 0.2;
System\Windows\Forms\Rendering\RadioButton\AnimatedRadioGlyphRenderer.cs (1)
143Control.LogicalToDeviceUnits(flatStyle == FlatStyle.Popup ? 2 : 1));
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ButtonBaseDesigner.cs (4)
126else if (flatStyle is FlatStyle.Flat or FlatStyle.Popup) 147else if (flatStyle is FlatStyle.Flat or FlatStyle.Popup) 174if (flatStyle is FlatStyle.Standard or FlatStyle.Flat or FlatStyle.Popup) 199if (flatStyle is FlatStyle.Standard or FlatStyle.Popup)