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