BindingContext

Wisej.Web.BindingContext

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Manages the collection of BindingManagerBase objects for any object that inherits from the Control class.

public class BindingContext : BindingContext

Constructors

BindingContext()

Creates a new instance of BindingContext.

Properties

IsReadOnly

Booleanarrow-up-right: Returns whether the collection is read-only.

Item(dataSource)

BindingManagerBase: Returns the BindingManagerBase that is associated with the data source.

Item(dataSource, dataMember)

BindingManagerBase: Returns a BindingManagerBase that is associated with the data source and data member.

Throws:

Methods

Contains(dataSource)

Returns whether the BindingContext contains the BindingManagerBase associated with the data source.

Parameter
Type
Description

dataSource

An Objectarrow-up-right that represents the data source.

Returns: Booleanarrow-up-right. true if the BindingContext contains the BindingManagerBase; otherwise, false.

Contains(dataSource, dataMember)

Returns whether the BindingContext contains the BindingManagerBase associated with the data source and data member.

Parameter
Type
Description

dataSource

An Objectarrow-up-right that represents the data source.

dataMember

The information needed to resolve to a specific BindingManagerBase.

Returns: Booleanarrow-up-right. true if the BindingContext contains the BindingManagerBase; otherwise, false.

UpdateBinding(newBindingContext, binding)

Associates a Binding with a new BindingContext.

Parameter
Type
Description

newBindingContext

The new BindingContext to associate with the Binding.

binding

The Binding to associate with the new BindingContext.

Last updated

Was this helpful?