5 writes to IsDefault
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
224IsDefault = value;
System.Windows.Forms.Tests (4)
System\Windows\Forms\ButtonBaseTests.cs (1)
9318set => base.IsDefault = value;
System\Windows\Forms\ButtonTests.cs (1)
3734set => base.IsDefault = value;
System\Windows\Forms\CheckBoxTests.cs (1)
681set => base.IsDefault = value;
System\Windows\Forms\RadioButtonTests.cs (1)
1576set => base.IsDefault = value;
31 references to IsDefault
System.Windows.Forms (27)
System\Windows\Forms\Controls\Buttons\Button.cs (2)
125if (IsDefault) 222if (IsDefault != value)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
272if (IsDefault) 317if (value == IsDefault)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
73&& (Control.Focused || Control.MouseIsOver || (Control.IsDefault && Control.Enabled)); 597IsDefault = 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); 238if (Control.IsDefault) 259if (!(Control.IsDefault && Control.Focused && (Control.FlatAppearance.BorderSize == 0))) 261DrawDefaultBorder(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\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (3)
44Control.IsDefault, 81Control.IsDefault, 118Control.IsDefault,
System.Windows.Forms.Tests (4)
System\Windows\Forms\ButtonBaseTests.cs (1)
9317get => base.IsDefault;
System\Windows\Forms\ButtonTests.cs (1)
3733get => base.IsDefault;
System\Windows\Forms\CheckBoxTests.cs (1)
680get => base.IsDefault;
System\Windows\Forms\RadioButtonTests.cs (1)
1575get => base.IsDefault;