Click or drag to resize

CSSMedia Class

Version 102.0.100
CSS media rule descriptor.
Inheritance Hierarchy

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

The CSSMedia type exposes the following members.

Constructors
  NameDescription
Public methodCSSMedia
Initializes 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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToDictionary (Inherited from DevToolsDomainEntityBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also