ICSSStyleSheet.OwnerRule

ICSSStyleSheet.OwnerRule property

If this style sheet comes from an @import rule, the ownerRule attribute will contain the CSSImportRule. In that case, the ownerNode attribute in the StyleSheet interface will be null. If the style sheet comes from an element or a processing instruction, the ownerRule attribute will be null and the ownerNode attribute will contain the Node.

public ICSSRule OwnerRule { get; }

See Also