Base:
property
AutoValidate
System.Windows.Forms.ContainerControl.AutoValidate
7 writes to AutoValidate
System.Windows.Forms.Tests (7)
System\Windows\Forms\UserControlTests.cs (7)
681
AutoValidate
= value
687
control.
AutoValidate
= value;
706
control.
AutoValidate
= AutoValidate.EnablePreventFocusChange;
711
control.
AutoValidate
= AutoValidate.EnablePreventFocusChange;
716
control.
AutoValidate
= AutoValidate.EnableAllowFocusChange;
722
control.
AutoValidate
= AutoValidate.Disable;
732
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
AutoValidate
= value);
5 references to AutoValidate
System.Windows.Forms.Tests (5)
System\Windows\Forms\UserControlTests.cs (5)
683
Assert.Equal(expected, control.
AutoValidate
);
688
Assert.Equal(expected, control.
AutoValidate
);
707
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
712
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
717
Assert.Equal(AutoValidate.EnableAllowFocusChange, control.
AutoValidate
);