2 overrides of AutoValidate
System.Windows.Forms (2)
System\Windows\Forms\Form.cs (1)
569public override AutoValidate AutoValidate
System\Windows\Forms\UserControl.cs (1)
104public override AutoValidate AutoValidate
9 writes to AutoValidate
System.Windows.Forms (2)
System\Windows\Forms\Form.cs (1)
572set => base.AutoValidate = value;
System\Windows\Forms\UserControl.cs (1)
107set => base.AutoValidate = value;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ContainerControlTests.cs (7)
292AutoValidate = value 298control.AutoValidate = value; 317control.AutoValidate = AutoValidate.EnablePreventFocusChange; 322control.AutoValidate = AutoValidate.EnablePreventFocusChange; 327control.AutoValidate = AutoValidate.EnableAllowFocusChange; 333control.AutoValidate = AutoValidate.Disable; 343Assert.Throws<InvalidEnumArgumentException>("value", () => control.AutoValidate = value);
11 references to AutoValidate
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
10435return (parent is not null) ? parent.AutoValidate : AutoValidate.EnablePreventFocusChange;
System\Windows\Forms\Form.cs (1)
571get => base.AutoValidate;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1798if (AutoValidate == AutoValidate.EnablePreventFocusChange ||
System\Windows\Forms\UserControl.cs (1)
106get => base.AutoValidate;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ContainerControlTests.cs (6)
36Assert.Equal(AutoValidate.EnablePreventFocusChange, control.AutoValidate); 294Assert.Equal(expected, control.AutoValidate); 299Assert.Equal(expected, control.AutoValidate); 318Assert.Equal(AutoValidate.EnablePreventFocusChange, control.AutoValidate); 323Assert.Equal(AutoValidate.EnablePreventFocusChange, control.AutoValidate); 328Assert.Equal(AutoValidate.EnableAllowFocusChange, control.AutoValidate);
System\Windows\Forms\PropertyGridTests.cs (1)
41Assert.Equal(AutoValidate.EnablePreventFocusChange, control.AutoValidate);