2 overrides of AutoValidate
System.Windows.Forms (2)
System\Windows\Forms\Form.cs (1)
569
public override AutoValidate
AutoValidate
System\Windows\Forms\UserControl.cs (1)
104
public override AutoValidate
AutoValidate
9 writes to AutoValidate
System.Windows.Forms (2)
System\Windows\Forms\Form.cs (1)
572
set => base.
AutoValidate
= value;
System\Windows\Forms\UserControl.cs (1)
107
set => base.
AutoValidate
= value;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ContainerControlTests.cs (7)
290
AutoValidate
= value
296
control.
AutoValidate
= value;
315
control.
AutoValidate
= AutoValidate.EnablePreventFocusChange;
320
control.
AutoValidate
= AutoValidate.EnablePreventFocusChange;
325
control.
AutoValidate
= AutoValidate.EnableAllowFocusChange;
331
control.
AutoValidate
= AutoValidate.Disable;
341
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
AutoValidate
= value);
11 references to AutoValidate
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
10409
return (parent is not null) ? parent.
AutoValidate
: AutoValidate.EnablePreventFocusChange;
System\Windows\Forms\Form.cs (1)
571
get => base.
AutoValidate
;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1799
if (
AutoValidate
== AutoValidate.EnablePreventFocusChange ||
System\Windows\Forms\UserControl.cs (1)
106
get => base.
AutoValidate
;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ContainerControlTests.cs (6)
34
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
292
Assert.Equal(expected, control.
AutoValidate
);
297
Assert.Equal(expected, control.
AutoValidate
);
316
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
321
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
326
Assert.Equal(AutoValidate.EnableAllowFocusChange, control.
AutoValidate
);
System\Windows\Forms\PropertyGridTests.cs (1)
39
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);