AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.9" />

.NET API 1,224,192 bytes

 CssStyleDeclaration

Represents a single CSS declaration block.
public string CssText { get; set; }

public bool IsReadOnly { get; }

public bool IsStrictMode { get; }

public string this[int index] { get; }

public string this[string name] { get; }

public int Length { get; }

public ICssRule Parent { get; }

public event Action<string> Changed

public string GetPropertyPriority(string propertyName)

public string GetPropertyValue(string propertyName)

public string RemoveProperty(string propertyName)

public void SetProperty(string propertyName, string propertyValue, string priority = null)

public void SetPropertyPriority(string propertyName, string priority)

public void SetPropertyValue(string propertyName, string propertyValue)

public void Update(string value)