CssFunctionParameter Class

https://drafts.csswg.org/css-mixins-1/#dictdef-functionparameter

public sealed class CssFunctionParameter

Constructors

NameDescription
CssFunctionParameter()

CssFunctionParameter()

  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public CssFunctionParameter()

No documentation is available.

Properties

NameDescription
DefaultValueThe default value of the parameter, or null when it has no default value.
NameGets the name of the parameter, including the leading --.
TypeThe type of the parameter as a syntax string, or "*" when it has no type.

DefaultValue

CssFunctionRule.cs

The default value of the parameter, or null when it has no default value.

public string? DefaultValue { get; init; }

Gets the name of the parameter, including the leading --.

public required string Name { get; init; }

The type of the parameter as a syntax string, or "*" when it has no type.

public required string Type { get; init; }