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