Click or drag to resize

CSSRule Class

Version 130.1.90
CSS rule representation.
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainEntityBase
    CefSharp.DevTools.CSSCSSRule

Namespace: CefSharp.DevTools.CSS
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public class CSSRule : DevToolsDomainEntityBase

The CSSRule type exposes the following members.

Constructors
 NameDescription
Public methodCSSRuleInitializes a new instance of the CSSRule class
Top
Properties
 NameDescription
Public propertyContainerQueries Container query list array (for rules involving container queries). The array enumerates container queries starting with the innermost one, going outwards.
Public propertyLayers Cascade layer array. Contains the layer hierarchy that this rule belongs to starting with the innermost layer and going outwards.
Public propertyMedia Media list array (for rules involving media queries). The array enumerates media queries starting with the innermost one, going outwards.
Public propertyNestingSelectors Array of selectors from ancestor style rules, sorted by distance from the current rule.
Public propertyOrigin Parent stylesheet's origin.
Public propertyRuleTypes The array keeps the types of ancestor CSSRules from the innermost going outwards.
Public propertyScopes @scope CSS at-rule array. The array enumerates @scope at-rules starting with the innermost one, going outwards.
Public propertySelectorList Rule selector data.
Public propertyStyle Associated style declaration.
Public propertyStyleSheetId The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
Public propertySupports @supports CSS at-rule array. The array enumerates @supports at-rules starting with the innermost one, going outwards.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToDictionary
(Inherited from DevToolsDomainEntityBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also