/// <summary> /// Gets the ICssValue of a property with the given name. /// </summary> /// <param name="rule">The rule to extend.</param> /// <param name="propertyName">The property to obtain.</param> /// <returns>The value of the provided property, if any.</returns> public static ICssValue GetValueOf(this ICssStyleRule rule, String propertyName) { rule = rule ?? throw new ArgumentNullException(nameof(rule)); var property = rule.Style.GetProperty(propertyName); return(property?.RawValue); }
public JsCssStyleRule(ICssStyleRule baseObject, ISvgScriptEngine engine) : base(baseObject, engine) { }