Wisej.Web.BindingContext
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Manages the collection of BindingManagerBase objects for any object that inherits from the Control class.
Creates a new instance of BindingContext.
Boolean: Returns whether the collection is read-only.
BindingManagerBase: Returns the BindingManagerBase that is associated with the data source.
BindingManagerBase: Returns a BindingManagerBase that is associated with the data source and data member.
Throws:
Exception The specified dataMember does not exist in the specified data source.
Returns whether the BindingContext contains the BindingManagerBase associated with the data source.
Returns: Boolean. true if the BindingContext contains the BindingManagerBase; otherwise, false.
Returns whether the BindingContext contains the BindingManagerBase associated with the data source and data member.
Returns: Boolean. true if the BindingContext contains the BindingManagerBase; otherwise, false.
Associates a Binding with a new BindingContext.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
dataSource
An Object that represents the data source.
dataSource
An Object that represents the data source.
dataMember
The information needed to resolve to a specific BindingManagerBase.
newBindingContext
The new BindingContext to associate with the Binding.
binding
The Binding to associate with the new BindingContext.