BindingNavigator Constructor (BindingSource)

 

Initializes a new instance of the BindingNavigator class with the specified BindingSource as the data source.

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

public BindingNavigator(
	BindingSource bindingSource
)

Parameters

bindingSource
Type: System.Windows.Forms.BindingSource

The BindingSource used as a data source.

This constructor uses the BindingSource parameter to initialize the BindingSource property. It also adds the standard set of navigational buttons and sets their corresponding properties, such as CountItem and MoveNextItem.

.NET Framework
Available since 2.0
Return to top
Show: