CssKeywordValue Class

A keyword or an identifier (https://drafts.css-houdini.org/css-typed-om-1/#csskeywordvalue).

public sealed class CssKeywordValue : CssStyleValue
Inheritance
CssStyleValue CssKeywordValue

Constructors

NameDescription
CssKeywordValue(string)https://drafts.css-houdini.org/css-typed-om-1/#dom-csskeywordvalue-csskeywordvalue

CssKeywordValue(string)

CssStyleValue.cs

https://drafts.css-houdini.org/css-typed-om-1/#dom-csskeywordvalue-csskeywordvalue

public CssKeywordValue(string value)

Properties

NameDescription
ValueGets or sets the keyword; it must not be empty.

Gets or sets the keyword; it must not be empty.

public string Value { get; set; }

Methods

NameDescription
ToString()https://drafts.css-houdini.org/css-typed-om-1/#keywordvalue-serialization: the value, serialized as an identifier.

https://drafts.css-houdini.org/css-typed-om-1/#keywordvalue-serialization: the value, serialized as an identifier.

public override string ToString()

Returns

string