COMException: 异常来自 HRESULT:0xD0000701
StackTrace:
在 Standard.NativeMethods.DwmExtendFrameIntoClientArea(IntPtr hwnd, MARGINS& pMarInset)
在 System.Windows.Shell.WindowChromeWorker._ExtendGlassFrame()
在 System.Windows.Shell.WindowChromeWorker._UpdateFrameState(Boolean force)
在 System.Windows.Shell.WindowChromeWorker._OnChromePropertyChangedThatRequiresRepaint(Object sender, EventArgs e)
在 System.Windows.Shell.WindowChrome._OnPropertyChangedThatRequiresRepaint()
在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
在 System.Windows.Freezable.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
在 MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName)
在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
在 MS.Internal.Data.StaticPropertyChangedEventManager.OnStaticPropertyChanged(TypeRecord typeRecord, PropertyChangedEventArgs args)
在 MS.Internal.Data.StaticPropertyChangedEventManager.TypeRecord.OnStaticPropertyChanged(Object sender, PropertyChangedEventArgs e)
在 System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
在 System.Windows.SystemParameters.OnPropertiesChanged(String[] propertyNames)
在 System.Windows.SystemParameters.InvalidateProperty(Int32 slot, String name)
在 System.Windows.SystemResources.SystemThemeFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 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)