JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Using the BindingContext Class

You use the BindingContext class to access the data bindings in a control, including a form. Here is the inheritance hierarchy of this class:

Object
   BindingContext

Each object that inherits from the Control class can have a single Binding Context object. Using this object gives you access to the data bindings in a form, which allows you to set the current record displayed in simple-bound controls, using the Position property.

You can find the more notable public properties of BindingContext objects in Table 21.9, and their more notable methods in Table 21.10. (This class has no non-inherited events.)

Table 21.9: Noteworthy public properties of BindingContext objects.

Property

Means

Item

Gets a particular binding.

Table 21.10: Noteworthy public methods of BindingContext objects.

Method

Means

Contains

Gets whether the BindingContext contains the specified item.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor