示例#1
0
 private static void SetMouseCapturePoint(PaintDotNet.UI.FrameworkElement target, PointDouble value)
 {
     target.SetValue(MouseCapturePointPropertyKey, value);
 }
示例#2
0
 public static void SetIsEnabled(PaintDotNet.UI.FrameworkElement target, bool value)
 {
     target.SetValue(IsEnabledProperty, BooleanUtil.GetBoxed(value));
 }
示例#3
0
 private static void SetIsPressed(PaintDotNet.UI.FrameworkElement target, bool value)
 {
     target.SetValue(IsPressedPropertyKey, BooleanUtil.GetBoxed(value));
 }
示例#4
0
 public static void SetAllowDrag(PaintDotNet.UI.FrameworkElement target, bool value)
 {
     target.SetValue(AllowDragProperty, BooleanUtil.GetBoxed(value));
 }