ScrollViewer添加附加属性: using System; using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace TouchScrollViewer { public class TouchScrolling : DependencyObject { public static bool Get