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