Example #1
0
        internal override void Attach(ElementStyle node)
        {
            base.Attach(node);

            if (Left != null)
            {
                Left.Attach(node, this, "left");
            }
            if (Top != null)
            {
                Top.Attach(node, this, "top");
            }
            if (Right != null)
            {
                Right.Attach(node, this, "right");
            }
            if (Bottom != null)
            {
                Bottom.Attach(node, this, "bottom");
            }
        }