InvalidOperationException: 无法针对没有装饰器的元素访问装饰器。 StackTrace: 在 System.Windows.Documents.AdornerLayer.Update(UIElement element) 在 DynamicClass.DragAdorner.<>c__DisplayClass57.<AnimateTo>b__56(Object s, EventArgs e) 在 System.Windows.Threading.DispatcherTimer.FireTick(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)