Hi
I have a self referencing hierarchical data structure with about 70 fields. These fields are of various data types. I have defined width, visibility, labels, various cellvaluepresenter styles and Editor styles to show different look and feel and formatting for these fields. Since All levels needs to be show/exhibit same properties (width, visibility, labels etc). Is there a way I can avoid duplication of XAML which is already 250 lines for one level?
Thanks.
Matt, this attachment is old version. Please retry the attachment.
Thank you for the revision. It still misses two requirements which I had in my code.
I wanted to avoid indentation for child rows and it still shows header with filter icon. Click attached picture for required output. I had the code which hid the filter row + header and removed indentation but field definition was duplicated which I wanted to get rid.
Hi Matt
Its step in right direction. However, I have to hide header and filtering rows for child records. So I have updated the sample and you can see that fileds are commented out which are repeated in parent and child level. It might seem trivial to repeat for 4 - 5 fields but I have 70+ fields. Is there a way I can avoid rewriting them in XAML?