Exemplo n.º 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();
 }
Exemplo n.º 2
0
        public static void Connect(ViewGroupNode node, IViewGroupNodeControl control, IXmlLayoutDesigner rootDesigner)
        {
            var connector = new ViewGroupChildConnector(node, control, rootDesigner);

            node.Children.CollectionChanged += connector.OnChildrenChanged;
        }
Exemplo n.º 3
0
 public static void Connect(ViewGroupNode node, IViewGroupNodeControl control, IXmlLayoutDesigner rootDesigner)
 {
     var connector = new ViewGroupChildConnector(node, control, rootDesigner);
     node.Children.CollectionChanged += connector.OnChildrenChanged;
 }