AngleSharp.Css by AngleSharp

<PackageReference Include="AngleSharp.Css" Version="0.17.0" />

.NET API 406,528 bytes

 ICssProperties

Represents a set of CSS properties.
string this[string propertyName] { get; }

Gets the value of the property with the given name.

int Length { get; }

Gets the number of properties in the declaration.

ICssProperty GetProperty(string propertyName)

Gets the full property model for the given property name.

string GetPropertyPriority(string propertyName)

Returns the optional priority, "important" or null, if no priority has been set.

string GetPropertyValue(string propertyName)

Gets the value of a property with the given name.

string RemoveProperty(string propertyName)

Removes the property with the given name and returns its value.

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

Sets a property with the given name and value. Optionally the priority can be set to "important" or left empty.