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

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