CurrencyManager
Wisej.Web.CurrencyManager
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Keeps data-bound controls synchronized with each other: showing data from the same record.
Properties
Count
Int32: Returns the number of items in the list.
Current
Object: Returns the current item in the list.
List
IList: Returns the list for this CurrencyManager.
Position
Int32: Returns or sets the current position within the list.
ShouldBind
Boolean: Returns true when the bound data source can accept changes. Calling SuspendBinding sets this flag to false and ResumeBinding sets it to true (default).
Methods
AddNew()
Adds a new item to the underlying list.
Throws:
NotSupportedException The underlying data source does not implement IBindingList, or the collection element doesn't implement a public parameterless constructor, 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.
Refresh()
Forces a refresh of the data-bound list.
ResumeBinding()
Resumes data binding.
SuspendBinding()
Suspends data binding to prevents changes from updating the bound data source.
Events
ItemChanged
ItemChangedEventHandler Fired when the current item has been altered.
ListChanged
ListChangedEventHandler Fired when the list changes or an item in the list changes.
MetaDataChanged
EventHandler Fired when the metadata of the List has changed.
Last updated