BindingManagerBase

Wisej.Web.BindingManagerBase

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

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

public class BindingManagerBase

Properties

Bindings

BindingsCollection: Returns the collection of bindings being managed.

Count

Int32arrow-up-right: Returns the number of items in the list.

Current

Objectarrow-up-right: Returns the current item in the list.

IsBindingSuspended

Booleanarrow-up-right: Returns whether binding is suspended.

Position

Int32arrow-up-right: Returns or sets the position of the data binding source within the list.

Methods

AddNew()

Adds a new item to the underlying list.

Throws:

CancelCurrentEdit()

Cancels the current edit operation.

EndCurrentEdit()

Ends the current edit operation.

GetItemProperties()

Returns the property descriptor collection for the underlying list.

Returns: PropertyDescriptorCollectionarrow-up-right. A PropertyDescriptorCollectionarrow-up-right for the list.

RemoveAt(index)

Removes the item at the specified index.

Parameter
Type
Description

index

The index of the item to remove from the list.

Throws:

ResumeBinding()

Resumes data binding.

SuspendBinding()

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

Events

BindingComplete

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

CurrentChanged

EventHandlerarrow-up-right Fired when the currently bound item changes.

CurrentItemChanged

EventHandlerarrow-up-right Fired when the state of the currently bound item changes.

DataError

BindingManagerDataErrorEventHandler Fired when an Exceptionarrow-up-right is silently handled by the BindingManagerBase.

PositionChanged

EventHandlerarrow-up-right Fired after the value of the Position property has changed.

Inherited By

Name
Description

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

Was this helpful?