Export (0) Print
Expand All

ActionsPane.ValidateChildren Method (ValidationConstraints)

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

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

bool ValidateChildren(
	ValidationConstraints validationConstraints


Type: System.Windows.Forms.ValidationConstraints

Places restrictions on which controls have their Validating event raised.

Return Value

Type: System.Boolean
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.

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

© 2015 Microsoft