2 overrides of ValidateChildren
System.Windows.Forms (2)
System\Windows\Forms\Form.cs (1)
6508
public override bool
ValidateChildren
(ValidationConstraints validationConstraints)
System\Windows\Forms\UserControl.cs (1)
236
public override bool
ValidateChildren
(ValidationConstraints validationConstraints)
7 references to ValidateChildren
System.Windows.Forms (4)
System\Windows\Forms\Form.cs (1)
6510
return base.
ValidateChildren
(validationConstraints);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1851
public virtual bool ValidateChildren() =>
ValidateChildren
(ValidationConstraints.Selectable);
System\Windows\Forms\Layout\Containers\ValidationConstraints.cs (1)
8
/// by the <see cref="ContainerControl.
ValidateChildren
(ValidationConstraints)"/> method.
System\Windows\Forms\UserControl.cs (1)
238
return base.
ValidateChildren
(validationConstraints);
System.Windows.Forms.Tests (3)
System\Windows\Forms\ContainerControlTests.cs (3)
988
Assert.True(control.
ValidateChildren
(validationConstraints));
1182
Assert.Equal(!cancel, control.
ValidateChildren
(validationConstraints));
1215
Assert.Throws<InvalidEnumArgumentException>("validationConstraints", () => control.
ValidateChildren
(validationConstraints));