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)
290AutoValidate = value 296control.AutoValidate = value; 315control.AutoValidate = AutoValidate.EnablePreventFocusChange; 320control.AutoValidate = AutoValidate.EnablePreventFocusChange; 325control.AutoValidate = AutoValidate.EnableAllowFocusChange; 331control.AutoValidate = AutoValidate.Disable; 341Assert.Throws<InvalidEnumArgumentException>("value", () => control.AutoValidate = value);
11 references to AutoValidate
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
10437return (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)
1799if (AutoValidate == AutoValidate.EnablePreventFocusChange ||
System\Windows\Forms\UserControl.cs (1)
106get => base.AutoValidate;
System.Windows.Forms.Tests (7)
System\Windows\Forms\ContainerControlTests.cs (6)
34Assert.Equal(AutoValidate.EnablePreventFocusChange, control.AutoValidate); 292Assert.Equal(expected, control.AutoValidate); 297Assert.Equal(expected, control.AutoValidate); 316Assert.Equal(AutoValidate.EnablePreventFocusChange, control.AutoValidate); 321Assert.Equal(AutoValidate.EnablePreventFocusChange, control.AutoValidate); 326Assert.Equal(AutoValidate.EnableAllowFocusChange, control.AutoValidate);
System\Windows\Forms\PropertyGridTests.cs (1)
39Assert.Equal(AutoValidate.EnablePreventFocusChange, control.AutoValidate);