Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
470
Different Columns on nested obejects
posted

Hello I have a Class A :

public class A()

{

List<object> Children {get{}; set{};

}

In children there are different classes lets different Numbers of type ChildType 1/2/3.

public class ChildTyp1()

{

TimeSpan Duration {get{}; set{};}

DateTime Created {get{}; set{};}

Single MeasuredValue {f´get{}; set{};}

}

and

public class ChildTyp2()

{

TimeSpan Duration {get{}; set{};}

DateTime Created {get{}; set{};}

}

and

public class ChildTyp3()

{

TimeSpan Duration {get{}; set{};}

DateTime Created {get{}; set{};}

Single MeasuredValue {f´get{}; set{};}

}

how can I manage it that there are only this columns showing which properties the class is holding

at the moment it is this:

 

It is no approach to simply define the Children object in the parent panel, as I must be able to ste editor and presnter styles on indiviual columns as well as the visibility.

Any suggestions ?

Parents
No Data
Reply Children
No Data