Hi
I have a multi (3) level of xamDatagrid. In which , in 2nd level i want to bind header label content based on data Item i mean dynamically.
For example : binding collection of 2nd level if of "Input" Type So header lable -> Input
or of "Output" Type So header lable -> Output
please see attached screenshot.
Hello Adit,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Hello Stefan
Thanks for your reply. I got my solution.
Instead of getting parent i retrived data from attached record using
DataRecord.AttachedToRecord.DataItem.Property
Thanks
Adit Sheth.
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I created a Style for the LabelPresenter and bound its Tempalte’s TextBlock to the parent record’s value. I also used a converter in order to return the correct value. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.