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)
292
AutoValidate
= value
298
control.
AutoValidate
= value;
317
control.
AutoValidate
= AutoValidate.EnablePreventFocusChange;
322
control.
AutoValidate
= AutoValidate.EnablePreventFocusChange;
327
control.
AutoValidate
= AutoValidate.EnableAllowFocusChange;
333
control.
AutoValidate
= AutoValidate.Disable;
343
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
AutoValidate
= value);
11 references to AutoValidate
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
10435
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)
1798
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)
36
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
294
Assert.Equal(expected, control.
AutoValidate
);
299
Assert.Equal(expected, control.
AutoValidate
);
318
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
323
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
328
Assert.Equal(AutoValidate.EnableAllowFocusChange, control.
AutoValidate
);
System\Windows\Forms\PropertyGridTests.cs (1)
41
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);