Après l'exécution de ce code ...Pourquoi ne puis-je pas modifier un objet après l'avoir animé?
DoubleAnimation a = new DoubleAnimation(newWidth, new Duration(...));
ThicknessAnimation b = new ThicknessAnimation(new Thickness(...), new Duration(...));
border.BeginAnimation(Border.MarginProperty, b);
border.BeginAnimation(Border.WidthProperty, a);
... ce code ne fonctionne plus (marge ne change pas après l'attribution d'une nouvelle valeur):
// doesn't have any effect
border.Margin = new Thickness(...);
Qu'est-ce qui se passe ?? Merci!