1 write to IsDefault
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Button.cs (1)
254IsDefault = value;
23 references to IsDefault
System.Windows.Forms (23)
winforms\Managed\System\WinForms\Button.cs (2)
163if (IsDefault) { 253if (IsDefault != value) {
winforms\Managed\System\WinForms\ButtonBase.cs (1)
205if (IsDefault) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
87(Control.Focused || Control.MouseIsOver || (Control.IsDefault && Control.Enabled)); 1539layout.isDefault = Control.IsDefault;
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (9)
76if (Control.IsDefault) { 88if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) { 89DrawDefaultBorder(g, r, colors.windowFrame, this.Control.IsDefault); 151if (Control.IsDefault) { 162if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) { 163DrawDefaultBorder(g, r, colors.windowFrame, this.Control.IsDefault); 235if (Control.IsDefault) { 246if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) { 247DrawDefaultBorder(g, r, colors.windowFrame, this.Control.IsDefault);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (6)
46if (Control.IsDefault) { 53DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.IsDefault); 86if (Control.IsDefault) { 93DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.IsDefault); 133if (Control.IsDefault) { 142DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.windowFrame, this.Control.IsDefault);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (3)
43else if (Control.Focused || Control.IsDefault) { 204if (Control.IsDefault) { 208DrawDefaultBorder(g, r, colors.windowFrame, this.Control.IsDefault);