4 references to EnablePreventFocusChange
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
11338return (parent is not null) ? parent.AutoValidate : AutoValidate.EnablePreventFocusChange;
System\Windows\Forms\Layout\Containers\ContainerControl.cs (3)
1766bool preventFocusChangeOnError = (autoValidateMode == AutoValidate.EnablePreventFocusChange); 1800if (AutoValidate == AutoValidate.EnablePreventFocusChange || 1835preventFocusChangeOnError = (autoValidateMode == AutoValidate.EnablePreventFocusChange);