CssStyleRule sealed class CssStyleRule : CssRule, ICssStyleRule, ICssRule, IStyleFormattable Represents a CSS style rule. Documentation Code public ISelector Selector { get; set; } Gets or sets the selector for matching elements. public string SelectorText { get; set; } Gets or sets the textual representation of the selector for this rule, e.g. "h1,h2". public CssStyleDeclaration Style { get; }