protected override Size ArrangeOverride(Size arrangeBounds)
        {
            this.HorizontalAlignment = HorizontalAlignment.Left;
            this.VerticalAlignment   = VerticalAlignment.Top;
            var items = _designerCanvas.SelectionService.SelectedDesignerContainer.OfType <FrameworkElement>().ToList();
            var rect  = ResizeThumb.GetBoundingRectangle(items);

            ResizeAdornerThumb.Arrange(rect);
            DragAdornerThumb.Arrange(rect);
            Console.WriteLine("rect2-" + rect);
            return(rect.Size);
        }
 public void UpdateAdorner()
 {
     if (_designerCanvas.SelectionService.SelectedDesignerContainer.Count > 0)
     {
         this.Visibility = Visibility.Visible;
         var items = _designerCanvas.SelectionService.SelectedDesignerContainer.OfType <FrameworkElement>().ToList();
         var rect  = ResizeThumb.GetBoundingRectangle(items);
         Console.WriteLine("rect1-" + rect);
         ResizeAdornerThumb.Arrange(rect);
         DragAdornerThumb.Arrange(rect);
     }
     else
     {
         this.Visibility = Visibility.Collapsed;
     }
 }