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
CssGroupingRuleCssFunctionRule
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the function, including the leading --. |
| ReturnType | Gets 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; }ReturnType
CssFunctionRule.csGets the return type of the function as a syntax string, or * when the function has no return type.
public string ReturnType { get; }Methods
| Name | Description |
|---|---|
| GetParameters() | Returns the parameters of the function. |
GetParameters()
CssFunctionRule.csReturns the parameters of the function.
public IReadOnlyList<CssFunctionParameter> GetParameters()