11 references to DrawDefaultBorder
System.Windows.Forms (11)
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (3)
89
DrawDefaultBorder
(g, r, colors.windowFrame, this.Control.IsDefault);
163
DrawDefaultBorder
(g, r, colors.windowFrame, this.Control.IsDefault);
247
DrawDefaultBorder
(g, r, colors.windowFrame, this.Control.IsDefault);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (3)
53
DrawDefaultBorder
(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.IsDefault);
93
DrawDefaultBorder
(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.IsDefault);
142
DrawDefaultBorder
(g, r, colors.options.highContrast ? colors.windowText : colors.windowFrame, this.Control.IsDefault);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
208
DrawDefaultBorder
(g, r, colors.windowFrame, this.Control.IsDefault);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (4)
805
ButtonInternal.ButtonBaseAdapter.
DrawDefaultBorder
(g, valBounds, foreBrush.Color, true /*isDefault == true*/);
878
ButtonBaseAdapter.
DrawDefaultBorder
(g,
896
ButtonBaseAdapter.
DrawDefaultBorder
(g,
909
ButtonBaseAdapter.
DrawDefaultBorder
(g, valBounds, colors.options.highContrast ? colors.windowText : colors.buttonShadow, false /*isDefault*/);