ArgumentException: 值不在预期的范围内。 --Message: 值不在预期的范围内。 StackTrace: 在 System.Windows.Media.Composition.DUCE.Channel.ReleaseOnChannel(ResourceHandle handle) 在 System.Windows.Media.Composition.DUCE.MultiChannelResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.TransformGroup.ReleaseOnChannelCore(Channel channel) 在 System.Windows.Media.Transform.System.Windows.Media.Composition.DUCE.IResource.ReleaseOnChannel(Channel channel) 在 System.Windows.Media.Visual.DisconnectAttachedResource(VisualProxyFlags correspondingFlag, IResource attachedResource) 在 System.Windows.Media.Visual.set_VisualTransform(Transform value) 在 System.Windows.FrameworkElement.SetLayoutOffset(Vector offset, Size oldRenderSize) 在 System.Windows.FrameworkElement.ArrangeCore(Rect finalRect) 在 System.Windows.UIElement.Arrange(Rect finalRect) 在 System.Windows.ContextLayoutManager.UpdateLayout() 在 System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) 在 System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() 在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) 在 System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) 在 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) ArgumentException: 值不在预期的范围内。 --Message: 值不在预期的范围内。 StackTrace: