Beispiel #1
0
 private void PositionTheAssociateControl(FrameworkElement control, Association associate)
 {
     Area proposedArea = associate.ProposePosition(control.ActualWidth, control.ActualHeight, this.subjectMetadata.Area, IsOverlappingWithOtherControls);
     Canvas.SetLeft(control, proposedArea.TopLeft.X);
     Canvas.SetTop(control, proposedArea.TopLeft.Y);
 }