GridView ?
-
hi all i have a little question for you all. I have a series of panels that are created dynamically in my main form (this is a windows exe) and they all have different attributes that can be assigned to them (unknown amount of attributes, they're assigned dynamically and manually) and what I was wondering was what would be the best way to display them. I was thinking of using a GridView. Basically what I want to do is have a list of attributes and associated values that are also editable. Is a gridview the best way forward or should I be thinking of something else? All thoughts appreciated, thanks tim
-
hi all i have a little question for you all. I have a series of panels that are created dynamically in my main form (this is a windows exe) and they all have different attributes that can be assigned to them (unknown amount of attributes, they're assigned dynamically and manually) and what I was wondering was what would be the best way to display them. I was thinking of using a GridView. Basically what I want to do is have a list of attributes and associated values that are also editable. Is a gridview the best way forward or should I be thinking of something else? All thoughts appreciated, thanks tim
You can use the PropertyGrid component, which is basically a grid with Property-Value pairs. It can be initialized like this: propertyGrid1.SelectedObject = some_object;
Regards, Lev