private static PointDouble GetMouseCapturePoint(PaintDotNet.UI.FrameworkElement target) =>
 ((PointDouble)target.GetValue(MouseCapturePointProperty));
 public static bool GetIsDragging(PaintDotNet.UI.FrameworkElement target) =>
 ((bool)target.GetValue(IsDraggingProperty));
 public static bool GetIsPressed(PaintDotNet.UI.FrameworkElement target) =>
 ((bool)target.GetValue(IsPressedProperty));
 public static bool GetAllowDrag(PaintDotNet.UI.FrameworkElement target) =>
 ((bool)target.GetValue(AllowDragProperty));