4 types derived from ButtonBaseAdapter
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (1)
19
internal class ButtonFlatAdapter :
ButtonBaseAdapter
{
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (1)
20
internal class ButtonPopupAdapter :
ButtonBaseAdapter
{
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
23
internal class ButtonStandardAdapter :
ButtonBaseAdapter
{
winforms\Managed\System\WinForms\ButtonInternal\CheckableControlBaseAdapter.cs (1)
19
internal abstract class CheckableControlBaseAdapter :
ButtonBaseAdapter
{
70 references to ButtonBaseAdapter
System.Windows.Forms (70)
winforms\Managed\System\WinForms\Button.cs (3)
104
internal override
ButtonBaseAdapter
CreateFlatAdapter() {
108
internal override
ButtonBaseAdapter
CreatePopupAdapter() {
112
internal override
ButtonBaseAdapter
CreateStandardAdapter() {
winforms\Managed\System\WinForms\ButtonBase.cs (5)
965
private
ButtonBaseAdapter
_adapter = null;
968
internal
ButtonBaseAdapter
Adapter {
991
internal virtual
ButtonBaseAdapter
CreateFlatAdapter() {
996
internal virtual
ButtonBaseAdapter
CreatePopupAdapter() {
1001
internal virtual
ButtonBaseAdapter
CreateStandardAdapter() {
winforms\Managed\System\WinForms\ButtonInternal\CheckableControlBaseAdapter.cs (3)
21
private
ButtonBaseAdapter
buttonAdapter;
25
protected
ButtonBaseAdapter
ButtonAdapter {
47
protected abstract
ButtonBaseAdapter
CreateButtonAdapter();
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxFlatAdapter.cs (1)
84
protected override
ButtonBaseAdapter
CreateButtonAdapter() {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (1)
103
protected override
ButtonBaseAdapter
CreateButtonAdapter() {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxStandardAdapter.cs (1)
102
protected override
ButtonBaseAdapter
CreateButtonAdapter() {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonFlatAdapter.cs (1)
83
protected override
ButtonBaseAdapter
CreateButtonAdapter() {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonPopupAdapter.cs (1)
89
protected override
ButtonBaseAdapter
CreateButtonAdapter() {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonStandardAdapter.cs (1)
60
protected override
ButtonBaseAdapter
CreateButtonAdapter() {
winforms\Managed\System\WinForms\CheckBox.cs (3)
663
internal override
ButtonBaseAdapter
CreateFlatAdapter() {
667
internal override
ButtonBaseAdapter
CreatePopupAdapter() {
671
internal override
ButtonBaseAdapter
CreateStandardAdapter() {
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (23)
805
ButtonInternal.
ButtonBaseAdapter
.DrawDefaultBorder(g, valBounds, foreBrush.Color, true /*isDefault == true*/);
811
ButtonBaseAdapter
.ColorData colors =
ButtonBaseAdapter
.PaintFlatRender(g,
831
ButtonInternal.
ButtonBaseAdapter
.PaintButtonBackground(wg, valBounds, windowsBrush);
853
ButtonInternal.
ButtonBaseAdapter
.PaintButtonBackground(wg, valBounds, windowBrush);
874
ButtonBaseAdapter
.ColorData colors =
ButtonBaseAdapter
.PaintPopupRender(g,
878
ButtonBaseAdapter
.DrawDefaultBorder(g,
892
ButtonBaseAdapter
.ColorData colors =
ButtonBaseAdapter
.PaintPopupRender(g,
896
ButtonBaseAdapter
.DrawDefaultBorder(g,
900
ButtonBaseAdapter
.Draw3DLiteBorder(g, valBounds, colors, true);
905
ButtonBaseAdapter
.ColorData colors =
ButtonBaseAdapter
.PaintPopupRender(g,
909
ButtonBaseAdapter
.DrawDefaultBorder(g, valBounds, colors.options.highContrast ? colors.windowText : colors.buttonShadow, false /*isDefault*/);
910
ButtonBaseAdapter
.DrawFlatBorder(g, valBounds, colors.options.highContrast ? colors.windowText : colors.buttonShadow);
951
ButtonBaseAdapter
.ColorData colors =
ButtonBaseAdapter
.PaintFlatRender(g,
957
ButtonBaseAdapter
.LayoutOptions options = ButtonInternal.ButtonFlatAdapter.PaintFlatLayout(g,
970
ButtonBaseAdapter
.LayoutData layout = options.Layout();
972
ButtonInternal.
ButtonBaseAdapter
.DrawFlatFocus(g,
987
ButtonBaseAdapter
.LayoutOptions options = ButtonInternal.ButtonPopupAdapter.PaintPopupLayout(g,
999
ButtonBaseAdapter
.LayoutData layout = options.Layout();
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (17)
1385
highlight = Color.FromArgb(ButtonInternal.
ButtonBaseAdapter
.ColorOptions.Adjust255(adjust, highlight.R),
1386
ButtonInternal.
ButtonBaseAdapter
.ColorOptions.Adjust255(adjust, highlight.G),
1387
ButtonInternal.
ButtonBaseAdapter
.ColorOptions.Adjust255(adjust, highlight.B));
1406
ButtonInternal.
ButtonBaseAdapter
.DrawDitheredFill(g, backBrush.Color, highlight, checkBounds);
1471
ButtonBaseAdapter
.LayoutOptions options = ButtonInternal.CheckBoxPopupAdapter.PaintPopupLayout(g,
1483
ButtonBaseAdapter
.LayoutData layout = options.Layout();
1488
ButtonBaseAdapter
.ColorData colors =
ButtonBaseAdapter
.PaintPopupRender(g,
1519
ButtonBaseAdapter
.LayoutOptions options = ButtonInternal.CheckBoxPopupAdapter.PaintPopupLayout(g,
1531
ButtonBaseAdapter
.LayoutData layout = options.Layout();
1535
ButtonBaseAdapter
.ColorData colors =
ButtonBaseAdapter
.PaintPopupRender(g,
1563
ButtonBaseAdapter
.LayoutOptions options = ButtonInternal.CheckBoxPopupAdapter.PaintPopupLayout(g,
1576
ButtonBaseAdapter
.LayoutData layout = options.Layout();
1580
ButtonBaseAdapter
.ColorData colors =
ButtonBaseAdapter
.PaintPopupRender(g,
1592
ButtonBaseAdapter
.DrawFlatBorder(g, layout.checkBounds, colors.buttonShadow);
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (2)
147
internal override
ButtonBaseAdapter
CreateStandardAdapter() {
213
internal override void DrawImageCore(Graphics graphics, Image image, Rectangle imageBounds, Point imageStart,
ButtonBaseAdapter
.LayoutData layout) {
winforms\Managed\System\WinForms\RadioButton.cs (3)
543
internal override
ButtonBaseAdapter
CreateFlatAdapter() {
547
internal override
ButtonBaseAdapter
CreatePopupAdapter() {
551
internal override
ButtonBaseAdapter
CreateStandardAdapter() {
winforms\Managed\System\WinForms\ToolStripItem.cs (5)
4600
private
ButtonBaseAdapter
.LayoutData layoutData;
4632
internal
ButtonBaseAdapter
.LayoutData LayoutData {
4739
private
ButtonBaseAdapter
.LayoutData GetLayoutData() {
4747
ButtonBaseAdapter
.LayoutData data = currentLayoutOptions.Layout();
4780
internal class ToolStripItemLayoutOptions :
ButtonBaseAdapter
.LayoutOptions {