// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.DevTools.CSS { /// /// CSS style representation. /// [System.Runtime.Serialization.DataContractAttribute] public class CSSStyle : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// The css style sheet identifier (absent for user agent stylesheet and user-specified /// stylesheet rules) this rule came from. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("styleSheetId"), IsRequired = (false))] public string StyleSheetId { get; set; } /// /// CSS properties in the style. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("cssProperties"), IsRequired = (true))] public System.Collections.Generic.IList CssProperties { get; set; } /// /// Computed values for all shorthands found in the style. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("shorthandEntries"), IsRequired = (true))] public System.Collections.Generic.IList ShorthandEntries { get; set; } /// /// Style declaration text (if available). /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("cssText"), IsRequired = (false))] public string CssText { get; set; } /// /// Style declaration range in the enclosing stylesheet (if available). /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("range"), IsRequired = (false))] public CefSharp.DevTools.CSS.SourceRange Range { get; set; } } }