コード例 #1
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public LinearLayoutControl(LinearLayoutNode node, IXmlLayoutDesigner rootDesigner)
 {
     this.node             = node;
     this.rootDesigner     = rootDesigner;
     node.PropertyChanged += (s, x) => UpdateFromNode();
     ViewGroupChildConnector.Connect(node, this, rootDesigner);
     UpdateFromNode();
 }
コード例 #2
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public LinearLayoutControl(LinearLayoutNode node, IXmlLayoutDesigner rootDesigner)
 {
     this.node = node;
     this.rootDesigner = rootDesigner;
     node.PropertyChanged += (s, x) => UpdateFromNode();
     ViewGroupChildConnector.Connect(node, this, rootDesigner);
     UpdateFromNode();
 }
コード例 #3
0
 public virtual TReturn Visit(LinearLayoutNode node, TData data)
 {
     return(Visit((ViewGroupNode)node, data));
 }
コード例 #4
0
 public override IViewNodeControl Visit(LinearLayoutNode node, IXmlLayoutDesigner data)
 {
     return(new LinearLayoutControl(node, data));
 }