"dushkin" <(E-Mail Removed)> wrote in message
news:3727cb06-f484-4aab-a338-(E-Mail Removed)...
> I know that to show class memebers in the property grid we need to
> attribute each one of them with [Category("category name")].
>
> But If I have a list, for example, of users (roughly) built in the
> following way:
>
> Class User {
>
> public string name;
> public int age;
>
> }
>
> private List<User> m_lstUsers;
>
> and the m_lstUsers is the member I want to display in the property
> grid, how do I do this?
>
> When I attributted it with [Category("Mycategory")], then under the
> "MyCategory" property I see something like <ClassName>.UsersListClass.
> I hope it was clear enough.
Some links:
http://www.codeproject.com/search.as...lection&sbo=kw
(the search I ran)
http://www.codeproject.com/Articles/...with-Collectio
(start here)
http://www.codeproject.com/Articles/...a-in-a-Propert
(this might interest you, too, but I recommend the collection editor)