[.net] System.Collections.Generic.Stack and PropertyGrid

Started by
3 comments, last by mutex 14 years, 11 months ago
Is it normal I can't add/remove elements in a Stack<> with the use of a PropertyGrid ?
- Iliak -
[ ArcEngine: An open source .Net gaming framework ]
[ Dungeon Eye: An open source remake of Eye of the Beholder II ]
Advertisement
Eh? A PropertyGrid let's you edit the properties of a single object. It doesn't do anything with adding or removing elements from a collection. Please describe what problem you're having.
if you think programming is like sex, you probably haven't done much of either.-------------- - capn_midnight
I'm sure he means if the Stack is a property of the object he's trying to edit through the property grid.
I don't have an answer though, and unable to test ATM.
----------------------------------------MagosX.com
doh! Sorry, read this last night, and brain obviously not working as it should.
if you think programming is like sex, you probably haven't done much of either.-------------- - capn_midnight
I'm guessing that there isn't a designer for Stack<> and that you'll have to write your own.

A quick search found the following article which looks promising: http://www.codeproject.com/KB/tabs/customizingcollectiondata.aspx.

This topic is closed to new replies.

Advertisement