10 references to EnableAllowFocusChange
System.Windows.Forms (2)
System\Windows\Forms\Layout\Containers\ContainerControl.cs (2)
220
if (value is < AutoValidate.Inherit or > AutoValidate.
EnableAllowFocusChange
)
1835
validatedControlAllowsFocusChange = (autoValidateMode == AutoValidate.
EnableAllowFocusChange
);
System.Windows.Forms.Tests (8)
System\Windows\Forms\ContainerControlTests.cs (4)
280
yield return new object[] { AutoValidate.
EnableAllowFocusChange
, AutoValidate.
EnableAllowFocusChange
};
325
control.AutoValidate = AutoValidate.
EnableAllowFocusChange
;
326
Assert.Equal(AutoValidate.
EnableAllowFocusChange
, control.AutoValidate);
System\Windows\Forms\UserControlTests.cs (4)
671
yield return new object[] { AutoValidate.
EnableAllowFocusChange
, AutoValidate.
EnableAllowFocusChange
};
716
control.AutoValidate = AutoValidate.
EnableAllowFocusChange
;
717
Assert.Equal(AutoValidate.
EnableAllowFocusChange
, control.AutoValidate);