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
VladimirMakarenko
NA
2
0
Complex properties in the PropertyGrid
Jan 17 2004 12:41 PM
Such a property I need to edit in the PropertyGrid. The property structure is array of int values, where array length is variable. The problem arise when I try to edit array length and array elements simultaneously, i.e. in the same PropertyGrid. When I have one array element per one string in the PropertyGrid how can I vary (acording to array length ) the number of strings in the PropertyGrid. The point is that array elements in my class are represented by the separate properties something like this: [DescriptionAttribute(“This is element N1 of my array”), BrowsableAttribute(true), DefaultValueAttribute(20)] public int Element1 { get {return this.element1;} set {this.element1 = value;} } How can I vary the number of such properties in my class? Thank you.
Reply
Answers (
0
)
Datagrid problems
proper way to store unknown number of object instances?