public String this[HtmlAttr attribute]
 {
     get { return(this[attribute.ToString().ToLower()]); }
     set { this[attribute.ToString().ToLower()] = value; }
 }
 public void Remove(HtmlAttr attribute)
 {
     Remove(attribute.ToString().ToLower());
 }
Пример #3
0
 public static T SetAttribute <T>(this T control, HtmlAttr attr, String value) where T : HtmlObject
 {
     return(control.SetAttribute(attr.ToString().ToLower(), value));
 }