1 write to IsDefault
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Button.cs (1)
254
IsDefault
= value;
23 references to IsDefault
System.Windows.Forms (23)
winforms\Managed\System\WinForms\Button.cs (2)
163
if (
IsDefault
) {
253
if (
IsDefault
!= value) {
winforms\Managed\System\WinForms\ButtonBase.cs (1)
205
if (
IsDefault
) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
87
(Control.Focused || Control.MouseIsOver || (Control.
IsDefault
&& Control.Enabled));
1539
layout.isDefault = Control.
IsDefault
;
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (9)
76
if (Control.
IsDefault
) {
88
if (!(Control.
IsDefault
&& Control.Focused && (Control.FlatAppearance.BorderSize == 0))) {
89
DrawDefaultBorder(g, r, colors.windowFrame, this.Control.
IsDefault
);
151
if (Control.
IsDefault
) {
162
if (!(Control.
IsDefault
&& Control.Focused && (Control.FlatAppearance.BorderSize == 0))) {
163
DrawDefaultBorder(g, r, colors.windowFrame, this.Control.
IsDefault
);
235
if (Control.
IsDefault
) {
246
if (!(Control.
IsDefault
&& Control.Focused && (Control.FlatAppearance.BorderSize == 0))) {
247
DrawDefaultBorder(g, r, colors.windowFrame, this.Control.
IsDefault
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonPopupAdapter.cs (6)
46
if (Control.
IsDefault
) {
53
DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.
IsDefault
);
86
if (Control.
IsDefault
) {
93
DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.buttonShadow, this.Control.
IsDefault
);
133
if (Control.
IsDefault
) {
142
DrawDefaultBorder(g, r, colors.options.highContrast ? colors.windowText : colors.windowFrame, this.Control.
IsDefault
);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (3)
43
else if (Control.Focused || Control.
IsDefault
) {
204
if (Control.
IsDefault
) {
208
DrawDefaultBorder(g, r, colors.windowFrame, this.Control.
IsDefault
);