BindingNavigator
Wisej.Web.BindingNavigator
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
C#
VB.NET
1
public class BindingNavigator : FlowLayoutPanel, ISupportInitialize
Copied!
1
Public Class BindingNavigator
2
Inherits FlowLayoutPanel
3
Implements ISupportInitialize
Copied!

Constructors

BindingNavigator(bindingSource)

Initializes a new instance of the BindingNavigator class with the specified BindingSource as the data source.
Name
Type
Description
bindingSource
The BindingSource used as a data source.

BindingNavigator(addStandardItems)

Initializes a new instance of the BindingNavigator class, indicating whether to display the standard navigation user interface (UI).
Name
Type
Description
addStandardItems
Boolean
true to show the standard navigational UI; otherwise, false.

Properties

AddNewItem

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

BindingSource

BindingSource: Returns or sets the BindingSource component that is the source of data.

CountItem

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

CountItemFormat

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

DeleteItem

Button: Returns or sets the "Delete" button.

MoveFirstItem

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

MoveLastItem

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

MoveNextItem

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

MovePreviousItem

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

Orientation

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.

PositionItem

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

Text

String: Returns or sets the text to display on the tab.

Methods

AddStandardItems()

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

BeginInit()

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

EndInit()

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

Validate()

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

RefreshItems

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.

TextChanged

EventHandler Fired when the value of the Text property changes.

Inherited

Properties

Name
Description
From
Returns or sets the description that will be reported to accessibility client applications. It is assigned to the "alt" attribute of the browser element.
Control
Returns or sets the name of the control for use by accessibility client applications. It is assigned to the "name" attribute of the browser element.
Control
Returns or sets the accessible role of the control that will be reported to accessibility client applications. It is assigned to the "role" attribute of the browser element.
Control
AllowDrag
Returns or sets whether the control can initiate a drag-drop operation.
Control
AllowDrop
Returns or sets whether the control can accept data that the user drags onto it.
Control
Anchor
Returns or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
Control
Anonymous
Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents.
Control
Sets the appearance key for the theme engine.
Control
Returns or sets whether the container enables the user to scroll to any controls placed outside of its visible boundaries.
Returns or sets the size of the auto-scroll margin.
Returns or sets the minimum size of the auto-scroll.
AutoShow
Returns or sets a value that indicates whether the collapsed panel is automatically expanded when the mouse hovers over the title bar.
Panel
AutoSize
Returns or sets a value that indicates whether the control resizes based on its contents.
Panel
Indicates the automatic sizing behavior of the control.
Panel
BackColor
Returns or sets the background color for the control.
Control
Returns or sets the background image displayed in the control.
Control
Returns or sets the background image layout as defined in the ImageLayout enumeration.
Control
Returns or sets the background image displayed in the control.
Control
Returns a flag indicating that the control is becoming the active control.
Control
Returns or sets the BindingContext for the control.
Control

Methods

Name
Description
From
Adds a new listener script to the event name to the client widget.
Control
Adds the CSS class name to the widget element. If the class already exists in the CssClass it's not added.
Control
Adds the specified theme state to the widget.
Control
Executes the specified delegate asynchronously.
Control
Executes the specified delegate asynchronously.
Control
Brings the control to the front of the z-order.
Control
Runs the JavaScript function within the component's context in the browser.
Control
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
Control
Asynchronously runs the JavaScript function within the component's context in the browser and returns an awaitable Task containing the value returned by the remote call.
Control
Centers the position of the control within the bounds of the parent.
Control
Centers the position of the control within the bounds of the parent either horizontally, vertically or both.
Control
Indicates whether the specified control is a child of this control.
Control
Creates and register this control and all its children.
Control
Begins a drag-and-drop operation.
Control
Begins a drag-and-drop operation.
Control
Begins a drag-and-drop operation.
Control
Begins a drag-and-drop operation.
Control
Begins a drag-and-drop operation.
Control
Retrieves the return value from the asynchronous operation represented by asyncResult .
Control
Runs the javaScript code within the component's context in the browser.
Control

Events

Name
Description
From
Appear
Fired after the control has been fully rendered on the client.
Control
Fired when the AutoSize property value changes.
Control
Fired when the value of the BackColor property changes.
Control
Fired when the value of the BackgroundImage property changes.
Control
Fired when the BackgroundImageLayout property changes.
Control
Fired when the value of the BecomingActiveControl property changes.
Control
Occurs when the value of the BindingContext property changes.
Control
Fired when the value of the CausesValidation property changes.
Control
Click
Fired when the control is clicked.
Control
Fired when the ClientSize property value changes.
Control
Fired when the value of the ContextMenu property changes.
Control
Fired when a new control is added to the ControlCollection.
Control
Fired when a control is made visible the first time, fully created and sent to the client.
Control
Fired when a control is removed from the ControlCollection.
Control
Fired when the value of the Cursor property changes.
Control
Disappear
Fired after the control is no longer visible on the client.
Control
Disposed
Fired when the component is disposed.
Control
Fired when the value of the Dock property changes.
Control
Fired when the control is double-clicked.
Control
DragDrop
Fired when a drag-and-drop operation is completed.
Control

Extension Methods

Name
Description
From
Sounds a tone through the computer's speaker.
Displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
Asynchronous displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
Displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
Asynchronously displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
[ToJSON(obj, formatted)](https://docs.microsoft.com/en-us/dotnet/api/system.json.tojson(obj, formatted))
Serializes the object to a JSON string.
JSON
[ToJSON(obj, options)](https://docs.microsoft.com/en-us/dotnet/api/system.json.tojson(obj, options))
Serializes the object to a JSON string.
JSON

Implements

Name
Description
Bindable components implement this interface.
IImage
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.