CssFunctionRule Class

https://drafts.csswg.org/css-mixins-1/#the-function-rule: a custom function. Its child rules are the runs of declarations of its body (CssFunctionDeclarations) and its conditional group rules.

public sealed class CssFunctionRule : CssGroupingRule
Inheritance
CssGroupingRule CssFunctionRule

Properties

NameDescription
NameGets the name of the function, including the leading --.
ReturnTypeGets the return type of the function as a syntax string, or * when the function has no return type.

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

public string Name { get; }

Gets the return type of the function as a syntax string, or * when the function has no return type.

public string ReturnType { get; }

Methods

NameDescription
GetParameters()Returns the parameters of the function.

GetParameters()

CssFunctionRule.cs