How does the binding work in DataGrid?

How does the binding work in DataGrid?



- Binding works on the basis of specifying an object and a property to the object that needs to be binded.

- The property of the object is stored and retrieved of the data that is involved in binding.

- The collection of data is being stored in a Data Grid and it is being provided by using CollectionView object that determines all the objects in the collection to be used as binding.

- CollectionView object points always to the current item that is being bound to a single object and consists of single property.

- The CollectionView is used as a base class and it can be used to navigate the object’s current position throughout the collection.

- The DataContext is being set to one of the objects with the paths already defined that is being pointed to the binding object assigned to a column.
Post your comment