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
validationConstraints
Type: System.Windows.Forms.ValidationConstraintsPlaces 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.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace