Hello,
does anyone have experiences with using multiple columns in the PropertyGrid?
A.
Property foo | foo.a | foo.b | foo.c |
Property baa | baa.a | baa.b | baa.c |
B.
Property foo foo.a
foo.b
foo.c
Property baa baa.a
baa.b
baa.c
I would like to have A. instead of B. for my properties (foo, baa) which are represented by a list of values.
There does not seem to be support for multiple columns by default. (Also see this old related question:
https://social.msdn.microsoft.com/Forums/windows/en-US/f3ecca87-6c7e-4216-8324-c0e4975d3233/cant-propertygrid-support-multi-column?forum=winforms)
I think about synchronizing several custom PropertyGrid editors with events. Lets say
each editor has three elements in a row. If I change the width of the first element (foo.a), all other
editors should change the width of their first element (baa.a) as well. This way, the PropertyGrid editors
would behave like the sub cells are organized in multiple columns.
Is this a good idea? Or would you expect the event mechanism to bee too slow or cause
other issues? Any other suggestions?
Best regards.
does anyone have experiences with using multiple columns in the PropertyGrid?
A.
Property foo | foo.a | foo.b | foo.c |
Property baa | baa.a | baa.b | baa.c |
B.
Property foo foo.a
foo.b
foo.c
Property baa baa.a
baa.b
baa.c
I would like to have A. instead of B. for my properties (foo, baa) which are represented by a list of values.
There does not seem to be support for multiple columns by default. (Also see this old related question:
https://social.msdn.microsoft.com/Forums/windows/en-US/f3ecca87-6c7e-4216-8324-c0e4975d3233/cant-propertygrid-support-multi-column?forum=winforms)
I think about synchronizing several custom PropertyGrid editors with events. Lets say
each editor has three elements in a row. If I change the width of the first element (foo.a), all other
editors should change the width of their first element (baa.a) as well. This way, the PropertyGrid editors
would behave like the sub cells are organized in multiple columns.
Is this a good idea? Or would you expect the event mechanism to bee too slow or cause
other issues? Any other suggestions?
Best regards.