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