Freigeben über


ActionsPane.Validate Method

Definition

Verifies the contents of the actions pane by causing the Validating and Validated events to occur, in that order.

Overloads

Validate()

Verifies the contents of the actions pane by causing the Validating and Validated events to occur, in that order.

Validate(Boolean)

Verifies the contents of the actions pane; conditionally dependent on whether automatic validation is turned on.

Remarks

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

Validate()

Verifies the contents of the actions pane by causing the Validating and Validated events to occur, in that order.

public:
 bool Validate();
public bool Validate ();
abstract member Validate : unit -> bool
Public Function Validate () As Boolean

Returns

true if validation is successful; otherwise, false. If called from the Validating and Validated event handlers, this method will always return false.

Remarks

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

Applies to

Validate(Boolean)

Verifies the contents of the actions pane; conditionally dependent on whether automatic validation is turned on.

public:
 bool Validate(bool checkAutoValidate);
public bool Validate (bool checkAutoValidate);
abstract member Validate : bool -> bool
Public Function Validate (checkAutoValidate As Boolean) As Boolean

Parameters

checkAutoValidate
Boolean

If true, the value of the AutoValidate property is used to determine if validation should be performed; if false, validation is unconditionally performed.

Returns

Returns Boolean.

Remarks

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

Applies to