BindingNavigator.Validate BindingNavigator.Validate BindingNavigator.Validate BindingNavigator.Validate Method

Definition

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

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

Returns

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

Remarks

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

Applies to