BindingManagerBase

Wisej.Web.BindingManagerBase

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Manages all Binding objects that are bound to the same data source and data member.

public class BindingManagerBase

Properties

BindingsCollection: Returns the collection of bindings being managed.

Int32: Returns the number of items in the list.

Object: Returns the current item in the list.

Boolean: Returns whether binding is suspended.

Int32: Returns or sets the position of the data binding source within the list.

Methods

Adds a new item to the underlying list.

Throws:

  • NotSupportedException The underlying data source does not implement IBindingList, or the data source has thrown an exception because the user has attempted to add a row to a read-only or fixed-size DataView.

Cancels the current edit operation.

Ends the current edit operation.

Returns the property descriptor collection for the underlying list.

Returns: PropertyDescriptorCollection. A PropertyDescriptorCollection for the list.

Removes the item at the specified index.

ParameterTypeDescription

index

The index of the item to remove from the list.

Throws:

Causes a control bound to this data source to re-read the current item and refresh the displayed value.

Causes a control bound to this data source to re-read the item at the specified itemIndex and refresh the displayed value.

ParameterTypeDescription

itemIndex

The index of the item that has changed.

Resumes data binding.

Suspends data binding to prevents changes from updating the bound data source.

Reads the current values from the data source and sends them to the control.

Events

BindingCompleteEventHandler Fired at the completion of a data-binding operation.

EventHandler Fired when the currently bound item changes.

EventHandler Fired when the state of the currently bound item changes.

BindingManagerDataErrorEventHandler Fired when an Exception is silently handled by the BindingManagerBase.

EventHandler Fired after the value of the Position property has changed.

Inherited By

NameDescription

Keeps data-bound controls synchronized with each other: showing data from the same record.

Maintains a Binding between an object's property and a data-bound control property.

Last updated