ArgumentException: “HorizontalOffset”属性在“HandyControl.Controls.ScrollViewer”类上不是可动态的,因为 UIPropertyMetadata 上已设置 IsAnimationProhibited 标记,用于将属性与类关联。 参数名: dp --Message: “HorizontalOffset”属性在“HandyControl.Controls.ScrollViewer”类上不是可动态的,因为 UIPropertyMetadata 上已设置 IsAnimationProhibited 标记,用于将属性与类关联。 参数名: dp --ParamName: dp StackTrace: 在 System.Windows.UIElement.BeginAnimation(DependencyProperty dp, AnimationTimeline animation, HandoffBehavior handoffBehavior) 在 DynamicClass.cc.<>c__DisplayClass137.<>c__DisplayClass178.<初始化>b__10e() 在 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)