Example #1
0
        public IFormBuilder <T> Div(string css, Action <IFormBuilder <T> > content)
        {
            var div = new DivBlock <T>(this)
            {
                Class = css
            };

            content(div);
            m_fields.Add(div);

            return(this);
        }
Example #2
0
        public IFormBuilder <T> Div(string css, Action <IFormBuilder <T> > content)
        {
            var div = new DivBlock <T>(m_owner)
            {
                Class = css
            };

            content(div);
            m_children.Add(div);

            return(this);
        }