IndexOutOfRangeException: 索引超出了数组界限。 StackTrace: 在 System.Windows.DependencyObject.LookupEntry(Int32 targetIndex) 在 System.Windows.UncommonField`1.GetValue(DependencyObject instance) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.PrecomputeRecursive(Rect& bboxSubgraph) 在 System.Windows.Media.Visual.Precompute() 在 System.Windows.Media.CompositionTarget.System.Windows.Media.ICompositionTarget.Render(Boolean inResize, Channel channel) 在 System.Windows.Media.MediaContext.Render(ICompositionTarget resizedCompositionTarget) 在 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)