예제 #1
0
파일: TagCol.cs 프로젝트: bzure/BSA.Net
        /// <summary>Assigns all needed attributes to the tag</summary>
        /// <returns>This instance downcasted to base class</returns>
        public virtual IndexedTag attr(
            int? span = null,
            MultiLength width = null,
            string id = null,
            string @class = null,
            string style = null,
            string title = null,
            LangCode lang = null,
            string xmllang = null,
            Dir? dir = null,
            string onclick = null,
            string ondblclick = null,
            string onmousedown = null,
            string onmouseup = null,
            string onmouseover = null,
            string onmousemove = null,
            string onmouseout = null,
            string onkeypress = null,
            string onkeydown = null,
            string onkeyup = null,
            Align? align = null,
            char? @char = null,
            Length charoff = null,
            Valign? valign = null
        )
        {
            Span = span;
            Width = width;
            Id = id;
            Class = @class;
            Style = style;
            Title = title;
            Lang = lang;
            XmlLang = xmllang;
            Dir = dir;
            OnClick = onclick;
            OnDblClick = ondblclick;
            OnMouseDown = onmousedown;
            OnMouseUp = onmouseup;
            OnMouseOver = onmouseover;
            OnMouseMove = onmousemove;
            OnMouseOut = onmouseout;
            OnKeyPress = onkeypress;
            OnKeyDown = onkeydown;
            OnKeyUp = onkeyup;
            Align = align;
            Char = @char;
            CharOff = charoff;
            Valign = valign;

            return this;
        }
예제 #2
0
파일: TagCol.cs 프로젝트: bzure/BSA.Net
        /// <summary>Assigns all needed attributes to the tag</summary>
        /// <returns>This instance downcasted to base class</returns>
        public virtual IndexedTag attr(
            int?span           = null,
            MultiLength width  = null,
            string id          = null,
            string @class      = null,
            string style       = null,
            string title       = null,
            LangCode lang      = null,
            string xmllang     = null,
            Dir?dir            = null,
            string onclick     = null,
            string ondblclick  = null,
            string onmousedown = null,
            string onmouseup   = null,
            string onmouseover = null,
            string onmousemove = null,
            string onmouseout  = null,
            string onkeypress  = null,
            string onkeydown   = null,
            string onkeyup     = null,
            Align?align        = null,
            char? @char        = null,
            Length charoff     = null,
            Valign?valign      = null
            )
        {
            Span        = span;
            Width       = width;
            Id          = id;
            Class       = @class;
            Style       = style;
            Title       = title;
            Lang        = lang;
            XmlLang     = xmllang;
            Dir         = dir;
            OnClick     = onclick;
            OnDblClick  = ondblclick;
            OnMouseDown = onmousedown;
            OnMouseUp   = onmouseup;
            OnMouseOver = onmouseover;
            OnMouseMove = onmousemove;
            OnMouseOut  = onmouseout;
            OnKeyPress  = onkeypress;
            OnKeyDown   = onkeydown;
            OnKeyUp     = onkeyup;
            Align       = align;
            Char        = @char;
            CharOff     = charoff;
            Valign      = valign;

            return(this);
        }
예제 #3
0
        /// <summary>Assigns all needed attributes to the tag</summary>
        /// <returns>This instance downcasted to base class</returns>
        public virtual IndexedTag attr(
            string id = null,
            string @class = null,
            string style = null,
            string title = null,
            MultiLength[] rows = null,
            MultiLength[] cols = null,
            string onunload = null,
            string onload = null
        )
        {
            Id = id;
            Class = @class;
            Style = style;
            Title = title;
            Rows = rows;
            Cols = cols;
            OnUnload = onunload;
            OnLoad = onload;

            return this;
        }
예제 #4
0
 public static TagCol width(this TagCol tag, MultiLength value)
 {
     tag.Width = value; return(tag);
 }
예제 #5
0
 public static TagFrameSet cols(this TagFrameSet tag, MultiLength[] value) { tag.Cols = value; return tag; }
예제 #6
0
 public static TagFrameSet rows(this TagFrameSet tag, MultiLength[] value) { tag.Rows = value; return tag; }
예제 #7
0
 public static TagColGroup width(this TagColGroup tag, MultiLength value) { tag.Width = value; return tag; }