コード例 #1
0
ファイル: SizeAdorner.cs プロジェクト: jgkim999/WpfExample
 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);
 }
コード例 #2
0
 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);
 }