I have the following Rectangle bound to an ever-changing positioning property "RectTop"
<Rectangle Canvas.Top="{Binding RectTop}" Height="100" Width="100" Fill="Red" />
Is there I way I can set up an animation/trigger to smoothly animate the rectangle to RectTop whenever that value changes? RectTop changes constantly. RectTop's class implements INotifyPropertyChanged so my updates are working fine. I've had success using an intermediary thread that slowly increments RectTop, then invokes the UI thread to notify it's value changing. That method feels terribly hackish. There must be a better way.
Any ideas?