CssDeclarationRule abstract class CssDeclarationRule : CssRule, ICssProperties, IEnumerable<ICssProperty>, IEnumerable Represents the base class for all style-rule similar rules. Documentation Code public IEnumerable<CssProperty> Declarations { get; } public string this[string propertyName] { get; } public int Length { get; } protected abstract CssProperty CreateNewProperty(string name) public IEnumerator<ICssProperty> GetEnumerator() public string GetPropertyPriority(string propertyName) public string GetPropertyValue(string propertyName) protected string GetValue(string propertyName) public string RemoveProperty(string propertyName) public void SetProperty(string propertyName, string propertyValue, string priority = null) protected void SetValue(string propertyName, string valueText)