Hi,
When I display a grid it slide from the left to the right, so I use an animation to show it.
The first time (ie. when I bind it to the data source) all is fine. But after, if I use animation, the "mouse over" effect over the data record stop to work.
Even, the double-click does not work anymore too!
What I do :
The first time (work fine) :
1 - I translate the grid2 - I bind it to data source
The next time (do not work anymore) :
1 - I translate the grid
I have event try this code once the storyboard is complete, but it change nothing !
xdgMedias.UpdateLayout(); xdgMedias.InvalidateArrange(); xdgMedias.InvalidateMeasure(); xdgMedias.InvalidateVisual(); xdgMedias.UpdateLayout(); foreach (DataRecord record in xdgMedias.Records) { record.Update(); record.DataPresenter.UpdateLayout(); record.DataPresenter.InvalidateArrange(); record.DataPresenter.InvalidateMeasure(); record.DataPresenter.InvalidateVisual(); record.DataPresenter.UpdateLayout(); }
Yes I can, how can I send you the ZIP file ?