Click or drag to resize

CSSMedia Class

Version 130.1.90
CSS media rule descriptor.
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainEntityBase
    CefSharp.DevTools.CSSCSSMedia

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

The CSSMedia type exposes the following members.

Constructors
 NameDescription
Public methodCSSMediaInitializes a new instance of the CSSMedia class
Top
Properties
 NameDescription
Public propertyMediaList Array of media queries.
Public propertyRange The associated rule (@media or @import) header range in the enclosing stylesheet (if available).
Public propertySource Source of the media query: "mediaRule" if specified by a @media rule, "importRule" if specified by an @import rule, "linkedSheet" if specified by a "media" attribute in a linked stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline stylesheet's STYLE tag.
Public propertySourceURL URL of the document containing the media query description.
Public propertyStyleSheetId Identifier of the stylesheet containing this object (if exists).
Public propertyText Media query text.
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