A paint server that resolves a CSS custom property (CSS variable) referenced via the
var() function, e.g. var(--my-color) or var(--my-color, red).
The variable is looked up by walking the element's ancestor chain at render time,
checking every style specificity level so that properties defined in external
stylesheets are found as well as inline ones.
public class SvgCssVariablePaintServer : SvgPaintServer, ISvgElement, ISvgTransformable, ICloneable, ISvgNode
kind:method, kind:property, kind:ctor. Press Esc to clear.SvgCssVariablePaintServer()Initialises a new, empty instance (required by DeepCopy<T>()).SvgCssVariablePaintServer(String, SvgPaintServer)Initialises a new instance with the given variable name and fallback.SvgCssVariablePaintServer(String)Initialises a new instance with the given variable name and no fallback.FallbackServerGets the fallback SvgPaintServer used when the variable cannot be resolved, or null if no fallback was specified.VariableNameGets or sets the CSS custom property name, including the leading '--'.Resolve(SvgElement)Resolves the CSS custom property by walking element's ancestor chain (self included) and returns the first SvgPaintServer the value maps to. Falls back to FallbackServer (or None) when the property is not defined anywhere in the hierarchy.ToString()Returns a String that represents the current Object.