WindowExtensions
A set of useful extension methods for the Window class.
public static CssStyleDeclaration ComputeCascadedStyle(this StyleCollection styleCollection, IElement element)
Computes the cascaded style, i.e. resolves the cascade by ordering after specifity.
Two rules with the same specifity are ordered according to their appearance. The more
recent declaration wins. Inheritance is not taken into account.
Generates the style collection for the given window object.