public SizeAdorner(ContentControl designerItem)
     : base(designerItem)
 {
     this.SnapsToDevicePixels = true;
     this.designerItem = designerItem;
     this.chrome = new SizeChrome();
     this.chrome.DataContext = designerItem;
     this.visuals = new VisualCollection(this);
     this.visuals.Add(this.chrome);
 }
 public SizeAdorner(ContentControl designerItem)
     : base(designerItem)
 {
     this.SnapsToDevicePixels = true;
     this.designerItem        = designerItem;
     this.chrome             = new SizeChrome();
     this.chrome.DataContext = designerItem;
     this.visuals            = new VisualCollection(this);
     this.visuals.Add(this.chrome);
 }