Freigeben über


ActionsPane.ValidateChildren Method

Definition

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

Overloads

ValidateChildren()

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

ValidateChildren(ValidationConstraints)

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

Remarks

This method provides the same functionality as the System.Windows.Forms.ContainerControl.ValidateChildren method. For more information about using this method, see System.Windows.Forms.ContainerControl.ValidateChildren.

ValidateChildren()

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

public:
 bool ValidateChildren();
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
public bool ValidateChildren ();
[<System.ComponentModel.Browsable(true)>]
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)>]
abstract member ValidateChildren : unit -> bool
Public 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.

Attributes

Remarks

This method provides the same functionality as the System.Windows.Forms.ContainerControl.ValidateChildren() method. For more information about using this method, see System.Windows.Forms.ContainerControl.ValidateChildren().

Applies to

ValidateChildren(ValidationConstraints)

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

public:
 bool ValidateChildren(System::Windows::Forms::ValidationConstraints validationConstraints);
[System.ComponentModel.Browsable(true)]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)]
public bool ValidateChildren (System.Windows.Forms.ValidationConstraints validationConstraints);
[<System.ComponentModel.Browsable(true)>]
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)>]
abstract member ValidateChildren : System.Windows.Forms.ValidationConstraints -> bool
Public Function ValidateChildren (validationConstraints As ValidationConstraints) As Boolean

Parameters

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.

Attributes

Remarks

This method provides the same functionality as the System.Windows.Forms.ContainerControl.ValidateChildren(ValidationConstraints) method. For more information about using this method, see System.Windows.Forms.ContainerControl.ValidateChildren(ValidationConstraints).

Applies to