After executing this code...
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);
...this code no longer works (Margin does not change after assigning a new value):
// doesn't have any effect
border.Margin = new Thickness(...);
What's going on?? Thanks!