Ejemplo n.º 1
0
 public ResizeAdorner(ContentControl designerItem)
     : base(designerItem)
 {
     this.chrome = new ResizeChrome();
     this.visuals = new VisualCollection(this);
     this.visuals.Add(this.chrome);
     this.chrome.DataContext = designerItem;
 }
Ejemplo n.º 2
0
 public ResizeAdorner(ContentControl designerItem)
     : base(designerItem)
 {
     this.chrome  = new ResizeChrome();
     this.visuals = new VisualCollection(this);
     this.visuals.Add(this.chrome);
     this.chrome.DataContext = designerItem;
 }
Ejemplo n.º 3
0
 public ResizeAdorner(ContentControl designerItem)
     : base(designerItem)
 {
     this.chrome       = new ResizeChrome();
     this.chrome.Style = this.TryFindResource("ResizeChromeStyle") as Style;
     this.visuals      = new VisualCollection(this);
     this.visuals.Add(this.chrome);
     this.chrome.DataContext = designerItem;
 }