M
Michael Fällgreen
Hi,
I need to make a strongly typed collection of x, and the simplets way is to
inherits list(of x). With that I can bind to a list-control. However - i
don't need all the methods from list(of x).
If I make a private list as list(of x) in a class and implements IList(of x)
I can control what methods to be public. I works - but now I can't bind the
collection to a listbox og grid (it says something about complex datatype).
What is the right way of doing a strongly typed collection (that can bind to
a ui control)?
I need to make a strongly typed collection of x, and the simplets way is to
inherits list(of x). With that I can bind to a list-control. However - i
don't need all the methods from list(of x).
If I make a private list as list(of x) in a class and implements IList(of x)
I can control what methods to be public. I works - but now I can't bind the
collection to a listbox og grid (it says something about complex datatype).
What is the right way of doing a strongly typed collection (that can bind to
a ui control)?