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

Definición

Sobrecargas

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

Hace que todos los controles secundarios de un control que admiten validación validen sus datos.Causes all of the child controls within a control that support validation to validate their data.

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

Hace que todos los controles secundarios de un control que admiten validación validen sus datos.Causes all of the child controls within a control that support validation to validate their data.

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

Hace que todos los controles secundarios de un control que admiten validación validen sus datos.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

Devoluciones

true si todos los elementos secundarios se validan correctamente; de lo contrario, false.true if all of the children validated successfully; otherwise, false. Si se llama desde los controladores de eventos Validating o Validated, este método siempre devolverá false.If called from the Validating or Validated event handlers, this method will always return false.

Consulte también:

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

Hace que todos los controles secundarios de un control que admiten validación validen sus datos.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

Parámetros

validationConstraints
ValidationConstraints ValidationConstraints ValidationConstraints ValidationConstraints

Especifica restricciones referentes a los controles para los que se genera el evento Validating.Places restrictions on which controls have their Validating event raised.

Devoluciones

true si todos los elementos secundarios se validan correctamente; de lo contrario, false.true if all of the children validated successfully; otherwise, false. Si se llama desde los controladores de eventos Validating o Validated, este método siempre devolverá false.If called from the Validating or Validated event handlers, this method will always return false.

Consulte también:

Se aplica a