Edit

ExpressionValues.Constant.CreateConstantScalar Method

Definition

Overloads

CreateConstantScalar(String)

Creates a named constant parameter of type float.

CreateConstantScalar(String, Single)

Creates a named constant parameter of type float, initialized with the specified value.

CreateConstantScalar(String)

Creates a named constant parameter of type float.

public static CommunityToolkit.WinUI.Animations.Expressions.ScalarNode CreateConstantScalar(string paramName);
static member CreateConstantScalar : string -> CommunityToolkit.WinUI.Animations.Expressions.ScalarNode
Public Shared Function CreateConstantScalar (paramName As String) As ScalarNode

Parameters

paramName
String

The name that will be used to refer to the parameter at a later time.

Returns

ScalarNode.

Applies to

CreateConstantScalar(String, Single)

Creates a named constant parameter of type float, initialized with the specified value.

public static CommunityToolkit.WinUI.Animations.Expressions.ScalarNode CreateConstantScalar(string paramName, float value);
static member CreateConstantScalar : string * single -> CommunityToolkit.WinUI.Animations.Expressions.ScalarNode
Public Shared Function CreateConstantScalar (paramName As String, value As Single) As ScalarNode

Parameters

paramName
String

The name that will be used to refer to the parameter at a later time.

value
Single

The value of the parameter.

Returns

ScalarNode.

Applies to