-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.NumberBox.AcceptsExpression |
winrt property |
Toggles whether the control will accept and evaluate a basic formulaic expression entered as input.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
NumberBox uses infix notation to evaluate expressions. In order of precedence, the allowable operators are:
- ^
- */
- +-
Note that parentheses can be used to override precedence rules.