5 writes to IsDefault
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
187IsDefault = value;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ButtonBaseTests.cs (1)
9316set => base.IsDefault = value;
System\Windows\Forms\ButtonTests.cs (1)
3724set => base.IsDefault = value;
System\Windows\Forms\CheckBoxTests.cs (1)
679set => base.IsDefault = value;
System\Windows\Forms\RadioButtonTests.cs (1)
1574set => base.IsDefault = value;
28 references to IsDefault
System.Windows.Forms (24)
System\Windows\Forms\Controls\Buttons\Button.cs (2)
123if (IsDefault) 185if (IsDefault != value)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
269if (IsDefault) 314if (value == IsDefault)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
71&& (Control.Focused || Control.MouseIsOver || (Control.IsDefault && Control.Enabled)); 595IsDefault = Control.IsDefault,
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonFlatAdapter.cs (9)
69if (Control.IsDefault) 82if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) 84DrawDefaultBorder(e, r, colors.WindowFrame, Control.IsDefault); 157if (Control.IsDefault) 170if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) 172DrawDefaultBorder(e, r, colors.WindowFrame, Control.IsDefault); 246if (Control.IsDefault) 264if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) 266DrawDefaultBorder(e, r, colors.WindowFrame, Control.IsDefault);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (6)
30if (Control.IsDefault) 47DrawDefaultBorder(e, r, borderColor, Control.IsDefault); 76if (Control.IsDefault) 84DrawDefaultBorder(e, r, colors.Options.HighContrast ? colors.WindowText : colors.ButtonShadow, Control.IsDefault); 124if (Control.IsDefault) 135DrawDefaultBorder(e, r, colors.Options.HighContrast ? colors.WindowText : colors.WindowFrame, Control.IsDefault);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (3)
32else if (Control.Focused || Control.IsDefault) 188if (Control.IsDefault) 193DrawDefaultBorder(e, r, colors.WindowFrame, Control.IsDefault);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ButtonBaseTests.cs (1)
9315get => base.IsDefault;
System\Windows\Forms\ButtonTests.cs (1)
3723get => base.IsDefault;
System\Windows\Forms\CheckBoxTests.cs (1)
678get => base.IsDefault;
System\Windows\Forms\RadioButtonTests.cs (1)
1573get => base.IsDefault;