[This is preliminary documentation and is subject to change.]
Binds to the object collection to be shown in the grid.
| C# |
public void SetBindings( IPContainer pContainer )
- pContainer (IPContainer)
- The IPContainer which contains this control.
Bindings are set using the DataSource property of the supplied IPContainer, and optionally the DataPropertyName of this grid. If the DataPropertyName property is left null or empty, then the DataSource of the supplied IPContainer is used as the data source to bind to, and this must be a collection.
If DataPropertyName is set, then it must be the name of a collection property of the object bound to the containing IPContainer, and this collection is bound to the grid.