21 references to ValidationConstraints
System.Windows.Forms (21)
winforms\Managed\System\WinForms\ContainerControl.cs (4)
1753
/// equivalent to calling ValidateChildren(ValidationConstraints.Selectable). See <see cref='
ValidationConstraints
.Selectable'/>
1758
return ValidateChildren(
ValidationConstraints
.Selectable);
1767
public virtual bool ValidateChildren(
ValidationConstraints
validationConstraints) {
1773
throw new InvalidEnumArgumentException("validationConstraints", (int)validationConstraints, typeof(
ValidationConstraints
));
winforms\Managed\System\WinForms\Control.cs (11)
10040
internal bool PerformContainerValidation(
ValidationConstraints
validationConstraints) {
10047
if ((validationConstraints &
ValidationConstraints
.ImmediateChildren) !=
ValidationConstraints
.ImmediateChildren &&
10054
if ((validationConstraints &
ValidationConstraints
.Selectable) ==
ValidationConstraints
.Selectable && !c.GetStyle(ControlStyles.Selectable) ||
10055
(validationConstraints &
ValidationConstraints
.Enabled) ==
ValidationConstraints
.Enabled && !c.Enabled ||
10056
(validationConstraints &
ValidationConstraints
.Visible) ==
ValidationConstraints
.Visible && !c.Visible ||
10057
(validationConstraints &
ValidationConstraints
.TabStop) ==
ValidationConstraints
.TabStop && !c.TabStop) {
winforms\Managed\System\WinForms\Form.cs (2)
6922
/// equivalent to calling ValidateChildren(ValidationConstraints.Selectable). See <see cref='
ValidationConstraints
.Selectable'/>
6936
public override bool ValidateChildren(
ValidationConstraints
validationConstraints) {
winforms\Managed\System\WinForms\UserControl.cs (2)
271
/// equivalent to calling ValidateChildren(ValidationConstraints.Selectable). See <see cref='
ValidationConstraints
.Selectable'/>
285
public override bool ValidateChildren(
ValidationConstraints
validationConstraints) {
winforms\Managed\System\WinForms\ValidationConstraints.cs (2)
31
/// include the <see cref='
ValidationConstraints
.Enabled'/> or <see cref='
ValidationConstraints
.Visible'/> modes.