/// <summary>Assigns all needed attributes to the tag</summary> /// <returns>This instance downcasted to base class</returns> public virtual IndexedTag attr( string src = null, string alt = null, string longdesc = null, Length height = null, Length width = null, string usemap = null, IsMap? ismap = null, string id = null, string name = 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 ) { Src = src; Alt = alt; LongDesc = longdesc; Height = height; Width = width; UseMap = usemap; IsMap = ismap; Id = id; Name = name; 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; return this; }
public static TagInput ismap(this TagInput tag, IsMap value) { tag.IsMap = value; return tag; }
public static TagImg ismap(this TagImg tag, IsMap value) { tag.IsMap = value; return(tag); }
/// <summary>Assigns all needed attributes to the tag</summary> /// <returns>This instance downcasted to base class</returns> public virtual IndexedTag attr( InputType? type = null, string name = null, string value = null, Checked? @checked = null, Disabled? disabled = null, ReadOnly? @readonly = null, int? size = null, int? maxlength = null, string src = null, string alt = null, string usemap = null, IsMap? ismap = null, string onselect = null, string onchange = null, MimeType[] accept = 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, char? accesskey = null, int? tabindex = null, string onfocus = null, string onblur = null ) { Type = type; Name = name; Value = value; Checked = @checked; Disabled = disabled; ReadOnly = @readonly; Size = size; MaxLength = maxlength; Src = src; Alt = alt; UseMap = usemap; IsMap = ismap; OnSelect = onselect; OnChange = onchange; Accept = accept; 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; AccessKey = accesskey; TabIndex = tabindex; OnFocus = onfocus; OnBlur = onblur; return this; }