ExpressionValues.Constant.CreateConstantBoolean Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| CreateConstantBoolean(String) |
Creates a named constant parameter of type bool. |
| CreateConstantBoolean(String, Boolean) |
Creates a named constant parameter of type bool, initialized with the specified value. |
CreateConstantBoolean(String)
Creates a named constant parameter of type bool.
public static CommunityToolkit.WinUI.Animations.Expressions.BooleanNode CreateConstantBoolean(string paramName);
static member CreateConstantBoolean : string -> CommunityToolkit.WinUI.Animations.Expressions.BooleanNode
Public Shared Function CreateConstantBoolean (paramName As String) As BooleanNode
Parameters
- paramName
- String
The name that will be used to refer to the parameter at a later time.
Returns
BooleanNode
Applies to
CreateConstantBoolean(String, Boolean)
Creates a named constant parameter of type bool, initialized with the specified value.
public static CommunityToolkit.WinUI.Animations.Expressions.BooleanNode CreateConstantBoolean(string paramName, bool value);
static member CreateConstantBoolean : string * bool -> CommunityToolkit.WinUI.Animations.Expressions.BooleanNode
Public Shared Function CreateConstantBoolean (paramName As String, value As Boolean) As BooleanNode
Parameters
- paramName
- String
The name that will be used to refer to the parameter at a later time.
- value
- Boolean
The value of the parameter.
Returns
BooleanNode.