0

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.

Matt
  • 24,866
  • 63
  • 189
  • 295

2 Answers2

1

There is a HierarchicalDataTemplate, see this SO question.

Community
  • 1
  • 1
Henk Holterman
  • 250,905
  • 30
  • 306
  • 490
0

Possibly you are after the IBindingList interface.

Craig
  • 35,534
  • 33
  • 112
  • 193