Base:
property
AutoValidate
System.Windows.Forms.ContainerControl.AutoValidate
7 writes to AutoValidate
System.Windows.Forms.Tests (7)
System\Windows\Forms\UserControlTests.cs (7)
683
AutoValidate
= value
689
control.
AutoValidate
= value;
708
control.
AutoValidate
= AutoValidate.EnablePreventFocusChange;
713
control.
AutoValidate
= AutoValidate.EnablePreventFocusChange;
718
control.
AutoValidate
= AutoValidate.EnableAllowFocusChange;
724
control.
AutoValidate
= AutoValidate.Disable;
734
Assert.Throws<InvalidEnumArgumentException>("value", () => control.
AutoValidate
= value);
5 references to AutoValidate
System.Windows.Forms.Tests (5)
System\Windows\Forms\UserControlTests.cs (5)
685
Assert.Equal(expected, control.
AutoValidate
);
690
Assert.Equal(expected, control.
AutoValidate
);
709
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
714
Assert.Equal(AutoValidate.EnablePreventFocusChange, control.
AutoValidate
);
719
Assert.Equal(AutoValidate.EnableAllowFocusChange, control.
AutoValidate
);