Skip to main content
Version: 3.5

BindingNavigator

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.

public class BindingNavigator : FlowLayoutPanel, ISupportInitialize

Constructors

Instance memberBindingNavigator(bindingSource)

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

NameTypeDescription
bindingSourceBindingSourceThe BindingSource used as a data source.

Instance memberBindingNavigator(addStandardItems)

Initializes a new instance of the BindingNavigator class, indicating whether to display the standard navigation user interface (UI).

NameTypeDescription
addStandardItemsBooleantrue to show the standard navigational UI; otherwise, false.

Properties

Instance memberAddNewItem

Button: Returns or sets the "Add New" button.

Instance memberBindingSource

BindingSource: Returns or sets the BindingSource component that is the source of data. (Default: null)

Instance memberCountItem

Label: Returns or sets the control that displays the total number of items in the associated BindingSource.

Instance memberCountItemFormat

String: Gets or sets a string used to format the information displayed in the CountItem control.

Instance memberDeleteItem

Button: Returns or sets the "Delete" button.

Instance memberMoveFirstItem

Button: Returns or sets the "Move First" button.

Instance memberMoveLastItem

Button: Returns or sets the "Move Last" button.

Instance memberMoveNextItem

Button: Returns or sets the "Move Next" button.

Instance memberMovePreviousItem

Button: Returns or sets the "Move Previous" button.

Instance memberOrientation

Orientation: Returns or sets a value indicating the horizontal or vertical orientation of the BindingNavigator control.

When the control is docked, this property is managed automatically.

Instance memberPositionItem

TextBox: Returns or sets the TextBox control that displays the current position within the associated BindingSource.

Instance memberText

String: Returns or sets the text to display on the tab. (Default: "")

Methods

Instance memberAddStandardItems()

Adds the standard set of navigation items to the BindingNavigator control.

Instance memberBeginInit()

Disables updates to the controls of during the component's initialization.

Instance memberEndInit()

Enables updates to the controls after the component's initialization has completed.

Instance memberValidate()

Causes validation to occur and returns whether validation was successful.

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

Events

Instance memberRefreshItems

EventHandler Fired when the state of the navigational user interface (UI) needs to be refreshed to reflect the current state of the underlying data source.

Instance memberTextChanged

EventHandler Fired when the value of the Text property changes.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
IImageProvides access to common image properties across the controls that implement this interface.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.