System.Windows.Forms.BindingNavigator.Validate Method

Causes form validation to occur and returns whether validation was successful.

Syntax

public bool Validate ()

Returns

true if validation was successful and focus can shift to the System.Windows.Forms.BindingNavigator; otherwise, false.

Remarks

Use this method to confirm focus can shift before performing the click action for an item on the System.Windows.Forms.BindingNavigator control.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0