I have a field in my grid where the TextWrapping is binded to a property of my DataRecord. When I change the value of the TextWrapping, The height of the cell is not resized to view all the lines.
The new TextWrapping is properly applied because if I manually resize the height of the item, I see multiple lines.
what Am I missing?
Please try the following. Set DataRecordSizingMode to SizedToContentAndIndividuallySizable
Your best bet would also be toggling cell virtualization via AllowCellVirtualization to help with this as well. This is also demonstrated in the link above.
Let me know if you have any questions.
No change. I also noticed that the grid does not refresh when I add new DataRecord.
I am properly calling RaisePropertyChange.
see the same problem. I also just noticed that the grid does not display new DataRecords that are added to the DataSource. The otification for the changed property is properly sent.
Can this be related to the same problem?
Please provide a complete sample project so I can debug this further. Let me know if you have any questions.