public void SetStyle(string width, string height) { string styleStr = this.GetAttribute("style"); CssSection section = CssSection.Parse(styleStr); section.Properties["width"] = width; section.Properties["height"] = height; this.SetAttribute("style", section.ToString()); }
public Style(CssSection value) : base("style", value.ToString()) { }