1 write to IsDefault
System.Windows.Forms (1)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
223IsDefault = value;
29 references to IsDefault
System.Windows.Forms (29)
System\Windows\Forms\Controls\Buttons\Button.cs (2)
125if (IsDefault) 221if (IsDefault != value)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
275if (IsDefault) 320if (value == IsDefault)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (2)
73&& (Control.Focused || Control.MouseIsOver || (Control.IsDefault && Control.Enabled)); 612IsDefault = 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 (5)
46textColor = ButtonDarkModeRenderer.GetTextColor(state, Control.IsDefault); 67backColor = ButtonDarkModeRenderer.GetBackgroundColor(state, Control.IsDefault); 90Control.IsDefault, 128Control.IsDefault, 166Control.IsDefault,