Dear JS-Support,
We have a problem: if we try to do dataGrid cell animation + dataobject update: both doesn't work at same time !
(We would like to highlight the modified row to the user: this is the background of this use case: server fetch new data => client side: UI animation + data update, see attached picture: the red parts modified by 3rd party user and broadcasted to this client)
Background info:
e.g. on XAML side:
-we have a simple double animation
-pluss a datagrid with custom DataTemplate-ed DataGridTemplateColumn.CellTemplate (e.g. we have a TextBlock what we want to animate)
on C# code behind:
- when we receive a Server event (by WebSocket to modify some existing data : datagrid itemSource object): we do two things:
1./ modify the itemSource object,
like:
_SomeSampleData[2].Name = "New Data from Server, Success !";
2., play the animation (Storyboard.SetTarget on TextBlock in dataGrid, and play animation with .Begin() )
Bug description:
If we omit one line : , like : // _SomeSampleData[2].Name = "New Data from Server, Success !";
the animation works nicely as expected.
if put it back : _SomeSampleData[2].Name = "New Data from Server, Success !";
no animation occurs.
Would you be so kind to check this bug at your side ?
Can you reproduce the bug?
Seems like: modification of any property of dataobject kill the animation.
Thanks in advance,
Best Regards,
Péter