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