CSSClientSetStyleTextsAsync 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
Syntax public Task<SetStyleTextsResponse> SetStyleTextsAsync(
IList<StyleDeclarationEdit> edits,
int? nodeForPropertySyntaxValidation = null
)
public:
Task<SetStyleTextsResponse^>^ SetStyleTextsAsync(
IList<StyleDeclarationEdit^>^ edits,
Nullable<int> nodeForPropertySyntaxValidation = nullptr
)
Parameters
- edits IListStyleDeclarationEdit
- edits
- nodeForPropertySyntaxValidation NullableInt32 (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
TaskSetStyleTextsResponsereturns System.Threading.Tasks.Task<SetStyleTextsResponse>
See Also