Поделиться через


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)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Function ValidateChildren ( _
    validationConstraints As ValidationConstraints _
) As Boolean
[BrowsableAttribute(true)]
bool ValidateChildren(
    ValidationConstraints validationConstraints
)

Parameters

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.

Remarks

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

.NET Framework Security

See Also

Reference

ActionsPane Interface

ValidateChildren Overload

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview