TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mmcguirk1
NA
3
0
Property Grid
Jul 16 2004 12:28 PM
I am having problems wqith the property grid. When i add an oblect to the grid, I get some properties, but not others. I have a class, Class1, that contains a class, Class2 as shown pubic class Class1 { private Class2 m_class2 = new Class2(); public Class1() { } [ Browsable( true ) ] public Class2 Class2Property { get{ return m_class2; } set{ m_class2 = value; } } } public class Class2 { private int m_iValue = 0; public Class2() { } [ Browsable( true ) ] pubic int Value { get{ return m_iValue; } set{ m_iValue = value; } } } Adding Class1 to the grid gives me A property called "Class2Property", which is what I want, but I also want to see the properties of Class2 ( Value ) as subnodes of the Class2Property property. Much like the Size and Location properties of a WinForm. Also, please note that I do have a type converter in the not-so-scaled down version of what I am trying to accomplish. The Type converter works properly Can anyone help?
Reply
Answers (
0
)
how can i change the cursor direction ?
Calling richTextBox from other namespaces many times