CssFunctionParameter Class
https://drafts.csswg.org/css-mixins-1/#dictdef-functionparameter
public sealed class CssFunctionParameterConstructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| DefaultValue | The default value of the parameter, or null when it has no default value. |
| Name | Gets the name of the parameter, including the leading --. |
| Type | The type of the parameter as a syntax string, or "*" when it has no type. |
DefaultValue
CssFunctionRule.csThe default value of the parameter, or null when it has no default value.
public string? DefaultValue { get; init; }Property value
See also
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; }