NumberBox.AcceptsExpression Property

Definition

Gets or sets a value that indicates whether the control accepts and evaluates a basic formulaic expression entered as input.

C#
public bool AcceptsExpression { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] set; }
C#
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")]
public bool AcceptsExpression { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="false")] set; }

Property Value

Boolean

true if the NumberBox accepts and evaluates a basic formulaic expression entered as input; otherwise, false. The default is false.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Remarks

NumberBox uses infix notation to evaluate expressions. In order of precedence, the allowable operators are:

  • ^
  • */
  • +-

Parentheses can be used to override precedence rules.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also