public ResizeRotateAdorner(ContentControl designerItem)
     : base(designerItem)
 {
     SnapsToDevicePixels = true;
     this.chrome = new ResizeRotateChrome();
     this.chrome.DataContext = designerItem;
     this.visuals = new VisualCollection(this);
     this.visuals.Add(this.chrome);
 }
Beispiel #2
0
 public ResizeRotateAdorner(UIElement designerItem)
     : base(designerItem)
 {
     SnapsToDevicePixels     = true;
     this.chrome             = new ResizeRotateChrome();
     this.chrome.DataContext = designerItem;
     this.visuals            = new VisualCollection(this);
     this.visuals.Add(this.chrome);
 }