I want to use collapsable Key-Name pairs, similar to Points(x,y) which show on one line but can be expanded to separate x and y lines.
But I do not see the Subclass Fields in the property grid. What is missing?
Any help is appreciated...Thanks Daniel
But I do not see the Subclass Fields in the property grid. What is missing?
//some Subclasses
[Category("Detail")]
public class WorktypeInfo
{
private string _WorktypeNo;
private string _WorktypeName;
[Category("Detail")]
public string WorktypeNo
{
get
{
return _WorktypeNo;
}
set
{
_WorktypeNo = value;
}
}
//used in Mainclass
[Category("Detail")]
[Description("Tätigkeitscode")]
public WorktypeInfo WorktypeInfo
{
get
{
return _WorktypeInfo;
}
set
{
_WorktypeInfo = value;
}
}
...
Any help is appreciated...Thanks Daniel