/// <summary> /// 清除所有样式 /// </summary> /// <returns></returns> public StyleManager Clear() { _style.Clear(); _element.SetAttribute("style", "", out _attribute); return(this); }
public void Remove(string key) { if (0 == String.Compare(key, StyleAttribute, true, Helpers.InvariantCulture)) { CssStyle.Clear(); return; } bag.Remove(key); }
public void Clear() { CssStyle.Clear(); bag.Clear(); }