BindingManagerBase
Wisej.Web.BindingManagerBase
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Manages all Binding objects that are bound to the same data source and data member.
public class BindingManagerBaseProperties
Bindings
BindingsCollection: Returns the collection of bindings being managed.
Count
Int32: Returns the number of items in the list.
Current
Object: Returns the current item in the list.
IsBindingSuspended
Boolean: Returns whether binding is suspended.
Position
Int32: Returns or sets the position of the data binding source within the list.
Methods
AddNew()
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.
CancelCurrentEdit()
Cancels the current edit operation.
EndCurrentEdit()
Ends the current edit operation.
GetItemProperties()
Returns the property descriptor collection for the underlying list.
Returns: PropertyDescriptorCollection. A PropertyDescriptorCollection for the list.
RemoveAt(index)
Removes the item at the specified index.
Throws:
IndexOutOfRangeException There is no row at the specified index .
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
EventHandler Fired when the currently bound item changes.
CurrentItemChanged
EventHandler Fired when the state of the currently bound item changes.
DataError
BindingManagerDataErrorEventHandler Fired when an Exception is silently handled by the BindingManagerBase.
PositionChanged
EventHandler Fired after the value of the Position property has changed.
Inherited By
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?

