CSSClient.SetStyleTextsAsync Method |
Version 130.1.90
Applies specified style edits one after another in the given order.
Namespace: CefSharp.DevTools.CSSAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntaxpublic Task<SetStyleTextsResponse> SetStyleTextsAsync(
IList<StyleDeclarationEdit> edits,
int? nodeForPropertySyntaxValidation = null
)
public:
Task<SetStyleTextsResponse^>^ SetStyleTextsAsync(
IList<StyleDeclarationEdit^>^ edits,
Nullable<int> nodeForPropertySyntaxValidation = nullptr
)
Parameters
- edits IList<StyleDeclarationEdit>
- edits
- nodeForPropertySyntaxValidation Nullable<Int32> (Optional)
- NodeId for the DOM node in whose context custom property declarations for registered properties should bevalidated. If omitted, declarations in the new rule text can only be validated statically, which may produceincorrect results if the declaration contains a var() for example.
Return Value
Task<SetStyleTextsResponse>returns System.Threading.Tasks.Task<SetStyleTextsResponse>
See Also