Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 812 Bytes

numberbox_acceptsexpression.md

File metadata and controls

33 lines (20 loc) · 812 Bytes
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.NumberBox.AcceptsExpression
winrt property

Microsoft.UI.Xaml.Controls.NumberBox.AcceptsExpression

-description

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).

-property-value

-remarks

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.

-see-also

-examples