Exception:“VerticalOffset”属性在“HandyControl.Controls.ScrollViewer”类上不是可动态的,因为 UIPropertyMetadata 上已设置 IsAnimationProhibited 标记,用于将属性与类关联。 参数名: dp

报错信息

ArgumentException: “VerticalOffset”属性在“HandyControl.Controls.ScrollViewer”类上不是可动态的,因为 UIPropertyMetadata 上已设置 IsAnimationProhibited 标记,用于将属性与类关联。
参数名: dp
--Message: “VerticalOffset”属性在“HandyControl.Controls.ScrollViewer”类上不是可动态的,因为 UIPropertyMetadata 上已设置 IsAnimationProhibited 标记,用于将属性与类关联。
参数名: dp
--ParamName: dp
StackTrace:
   在 System.Windows.UIElement.BeginAnimation(DependencyProperty dp, AnimationTimeline animation, HandoffBehavior handoffBehavior)
   在 DynamicClass.aa.<>c__DisplayClass178.<>c__DisplayClass184.<OnWindowLoaded>b__f6(Object sender, MouseWheelEventArgs args)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(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)

 

解决方法

暂无解决方案。

相关信息
2 查看
3天15小时前
Quicker版本
版本 反馈次数
1.44.5 1
1.43.57 1