views:

28

answers:

2

I want to implement a control with a specifiable DataSource property and it would be great if I could inherit and the type of the DataSource implements some sort of Hierarchical interface with properties and methods ensured.

Does .NET supply such an interface? Googling revealed nothing.

A: 

Possibly you are after the IBindingList interface.

Craig
Sounds a bit ... linear
Henk Holterman
+1  A: 

There is a HierarchicalDataTemplate, see this SO question.

Henk Holterman