UserControl.ValidateChildren UserControl.ValidateChildren UserControl.ValidateChildren UserControl.ValidateChildren Method

Definition

Overloads

ValidateChildren() ValidateChildren() ValidateChildren() ValidateChildren()

Causes all of the child controls within a control that support validation to validate their data.

ValidateChildren(ValidationConstraints) ValidateChildren(ValidationConstraints) ValidateChildren(ValidationConstraints)

Causes all of the child controls within a control that support validation to validate their data.

ValidateChildren() ValidateChildren() ValidateChildren() ValidateChildren()

Causes all of the child controls within a control that support validation to validate their data.

public:
 override bool ValidateChildren();
[System.ComponentModel.Browsable(true)]
public override bool ValidateChildren ();
override this.ValidateChildren : unit -> bool
Public Overrides Function ValidateChildren () As Boolean

Returns

true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.

See also

ValidateChildren(ValidationConstraints) ValidateChildren(ValidationConstraints) ValidateChildren(ValidationConstraints)

Causes all of the child controls within a control that support validation to validate their data.

public:
 override bool ValidateChildren(System::Windows::Forms::ValidationConstraints validationConstraints);
[System.ComponentModel.Browsable(true)]
public override bool ValidateChildren (System.Windows.Forms.ValidationConstraints validationConstraints);
override this.ValidateChildren : System.Windows.Forms.ValidationConstraints -> bool

Parameters

validationConstraints
ValidationConstraints ValidationConstraints ValidationConstraints ValidationConstraints

Places restrictions on which controls have their Validating event raised.

Returns

true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.

See also

Applies to