Home Forums WPF controls Xceed DataGrid for WPF Binding to custom objects – Needed Intefaces?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #26188 |

    I have a question about data binding that so far I haven’t found a concrete answer for in the documentation or on the forums. In order to bind the Xceed Grid to a collection, does that collection have to be derived from IBindingList? Is an ObservableCollection not sufficient?

    Is there any documentation that describes which interfaces are necessary for binding to custom objects?

    Thanks.

    Imported from legacy forums. Posted by Daniel (had 1742 views)

    Xceed Support
    Member
    Post count: 5658

    IEnumerable is the absolute minimum.

    INotifyCollectionChanged and IBindingList are required for change notification (additions, removal, reset, move, replace of items in the collection ).

    IBindingList is required to support insertion (from the InsertionRow ).

    Imported from legacy forums. Posted by Marcus [Xceed] (had 2731 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.