コード例 #1
0
 public static bool GetSelectAll(YourControl target)
 {
     return((bool)target.GetValue(IsDraggingAttachedProperty));
 }
コード例 #2
0
 public static void SetSelectAll(YourControl target, bool value)
 {
     target.SetValue(IsDraggingAttachedProperty, value);
 }
コード例 #3
0
 private void MainWindow_ContentRendered(object sender, EventArgs e)
 {
     locationOfYourControl = YourControl.PointToScreen(new Point(0, 0));
 }