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