I have a need to hide or show the addnew row of the child records of a parent based on a value in the parent. I've got it all working using a data trigger which just sets the visibility to collapsed. The problem I am having is that the addition icon is still showing up as displayed below. How do I collapse this as well?
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hello again,
Could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.
Looking forward for your reply.
Nope. Tried that, I get the same results.
Thank you for your post. I have been looking into it and I assume you set the Visibility to the DataRecordCellArea and the add icon is a child of the DataRecordPresenter, which contains the DataRecordCellArea, too, so my suggestion is to set the Height property of the DataRecordPresenter instead of the Visibility of the DataRecordCellArea. Please let me know if this helps you or you need further assistance on this matter.