Exemplo n.º 1
0
        public StyledNode(Node node)
        {
            Node            = node;
            SpecifiedValues = new Dictionary <string, List <Value> >();
            Children        = new List <StyledNode>();

            _margins      = new Lazy <EdgeValues>(() => Margin.GetMargins(SpecifiedValues));
            _borderWidths = new Lazy <EdgeValues>(() => BorderWidth.GetBorderWidths(SpecifiedValues));
            _paddings     = new Lazy <EdgeValues>(() => Padding.GetPaddings(SpecifiedValues));
        }