BindingNavigator.Validate Method ()


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

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

public bool Validate()

Return Value

Type: System.Boolean

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

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

.NET Framework
Available since 2.0
Return to top