Share via


IRulesApplied interface

Provides access to the CSS style rules that are applied to an element.

Members

The IRulesApplied interface inherits from the IDispatch interface. IRulesApplied also has these types of members:

  • Methods
  • Properties

Methods

The IRulesApplied interface has these methods.

Method Description
hasInheritableProperty

Gets whether there are properties specified in this rule that are inheritable

propertyIsInheritable

Gets whether a property is inheritable.

propertyIsInline

Gets whether a property was inherited from the inline styles of this element.

 

Properties

The IRulesApplied interface has these properties.

Property Description

appliedRules

Gets the applied rules, sorted by application. The collection is empty, rather than NULL, if no rules apply.

element

Gets the element that the current rules were inherited from.

inlineStyles

Gets the inline styles from the element, or NULL if none were set.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch