4 types derived from ButtonBaseAdapter
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (1)
8internal class ButtonFlatAdapter : ButtonBaseAdapter
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (1)
9internal class ButtonPopupAdapter : ButtonBaseAdapter
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (1)
10internal class ButtonStandardAdapter : ButtonBaseAdapter
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckableControlBaseAdapter.cs (1)
11internal abstract class CheckableControlBaseAdapter : ButtonBaseAdapter
67 references to ButtonBaseAdapter
System.Windows.Forms (67)
System\Windows\Forms\Controls\Buttons\Button.cs (3)
78internal override ButtonBaseAdapter CreateFlatAdapter() => new ButtonFlatAdapter(this); 80internal override ButtonBaseAdapter CreatePopupAdapter() => new ButtonPopupAdapter(this); 82internal override ButtonBaseAdapter CreateStandardAdapter() => new ButtonStandardAdapter(this);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (5)
47private ButtonBaseAdapter? _adapter; 964internal ButtonBaseAdapter Adapter 994internal virtual ButtonBaseAdapter CreateFlatAdapter() 1000internal virtual ButtonBaseAdapter CreatePopupAdapter() 1006internal virtual ButtonBaseAdapter CreateStandardAdapter()
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckableControlBaseAdapter.cs (3)
14private ButtonBaseAdapter? _buttonAdapter; 20protected ButtonBaseAdapter ButtonAdapter => _buttonAdapter ??= CreateButtonAdapter(); 39protected abstract ButtonBaseAdapter CreateButtonAdapter();
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxFlatAdapter.cs (1)
91protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonFlatAdapter(Control);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (1)
118protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonPopupAdapter(Control);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxStandardAdapter.cs (1)
110protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonStandardAdapter(Control);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonFlatAdapter.cs (1)
85protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonFlatAdapter(Control);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonPopupAdapter.cs (1)
90protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonPopupAdapter(Control);
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonStandardAdapter.cs (1)
55protected override ButtonBaseAdapter CreateButtonAdapter() => new ButtonStandardAdapter(Control);
System\Windows\Forms\Controls\Buttons\CheckBox.cs (3)
509internal override ButtonBaseAdapter CreateFlatAdapter() => new CheckBoxFlatAdapter(this); 511internal override ButtonBaseAdapter CreatePopupAdapter() => new CheckBoxPopupAdapter(this); 513internal override ButtonBaseAdapter CreateStandardAdapter() => new CheckBoxStandardAdapter(this);
System\Windows\Forms\Controls\Buttons\RadioButton.cs (3)
453internal override ButtonBaseAdapter CreateFlatAdapter() => new RadioButtonFlatAdapter(this); 455internal override ButtonBaseAdapter CreatePopupAdapter() => new RadioButtonPopupAdapter(this); 457internal override ButtonBaseAdapter CreateStandardAdapter() => new RadioButtonStandardAdapter(this);
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (20)
767ButtonBaseAdapter.DrawDefaultBorder(g, valBounds, backBrushColor, isDefault: true); 773ButtonBaseAdapter.ColorData colors = ButtonBaseAdapter.PaintFlatRender( 805ButtonBaseAdapter.ColorData colors = ButtonBaseAdapter.PaintPopupRender( 810ButtonBaseAdapter.DrawDefaultBorder( 826ButtonBaseAdapter.ColorData colors = ButtonBaseAdapter.PaintPopupRender( 831ButtonBaseAdapter.DrawDefaultBorder( 836ButtonBaseAdapter.Draw3DLiteBorder(g, valBounds, colors, true); 841ButtonBaseAdapter.ColorData colors = ButtonBaseAdapter.PaintPopupRender( 846ButtonBaseAdapter.DrawDefaultBorder( 897ButtonBaseAdapter.ColorData colors = ButtonBaseAdapter.PaintFlatRender( 905ButtonBaseAdapter.LayoutOptions options = ButtonFlatAdapter.PaintFlatLayout( 918ButtonBaseAdapter.LayoutData layout = options.Layout(); 920ButtonBaseAdapter.DrawFlatFocus( 936ButtonBaseAdapter.LayoutOptions options = ButtonPopupAdapter.PaintPopupLayout( 948ButtonBaseAdapter.LayoutData layout = options.Layout();
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (16)
1304ButtonBaseAdapter.ColorOptions.Adjust255(adjust, highlight.R), 1305ButtonBaseAdapter.ColorOptions.Adjust255(adjust, highlight.G), 1306ButtonBaseAdapter.ColorOptions.Adjust255(adjust, highlight.B)); 1324ButtonBaseAdapter.DrawDitheredFill(g, backBrushColor, highlight, checkBounds); 1391ButtonBaseAdapter.LayoutOptions options = CheckBoxPopupAdapter.PaintPopupLayout( 1404ButtonBaseAdapter.LayoutData layout = options.Layout(); 1408ButtonBaseAdapter.ColorData colors = ButtonBaseAdapter.PaintPopupRender( 1440ButtonBaseAdapter.LayoutOptions options = CheckBoxPopupAdapter.PaintPopupLayout( 1453ButtonBaseAdapter.LayoutData layout = options.Layout(); 1457ButtonBaseAdapter.ColorData colors = ButtonBaseAdapter.PaintPopupRender( 1487ButtonBaseAdapter.LayoutOptions options = CheckBoxPopupAdapter.PaintPopupLayout( 1500ButtonBaseAdapter.LayoutData layout = options.Layout(); 1504ButtonBaseAdapter.ColorData colors = ButtonBaseAdapter.PaintPopupRender(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.cs (1)
133internal override ButtonBaseAdapter CreateStandardAdapter() => new DropDownButtonAdapter(this);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.cs (6)
18private ButtonBaseAdapter.LayoutData? _layoutData; 36ButtonBaseAdapter.LayoutData layoutData = LayoutData; 43internal ButtonBaseAdapter.LayoutData LayoutData 60ButtonBaseAdapter.LayoutData layoutData = LayoutData; 144private ButtonBaseAdapter.LayoutData GetLayoutData() 153ButtonBaseAdapter.LayoutData data = _currentLayoutOptions.Layout();
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripItemLayoutOptions.cs (1)
14internal class ToolStripItemLayoutOptions : ButtonBaseAdapter.LayoutOptions