7 references to Inherit
System.Windows.Forms (5)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (5)
32private AutoValidate _autoValidate = AutoValidate.Inherit; 204[AmbientValue(AutoValidate.Inherit)] 211if (_autoValidate != AutoValidate.Inherit) 220if (value is < AutoValidate.Inherit or > AutoValidate.EnableAllowFocusChange) 1990internal virtual bool ShouldSerializeAutoValidate() => _autoValidate != AutoValidate.Inherit;
System.Windows.Forms.Tests (2)
System\Windows\Forms\ContainerControlTests.cs (1)
281yield return new object[] { AutoValidate.Inherit, AutoValidate.EnablePreventFocusChange };
System\Windows\Forms\UserControlTests.cs (1)
672yield return new object[] { AutoValidate.Inherit, AutoValidate.EnablePreventFocusChange };