Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.09 KB

numberbox_value.md

File metadata and controls

27 lines (16 loc) · 1.09 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.NumberBox.Value
winrt property

Microsoft.UI.Xaml.Controls.NumberBox.Value

-description

Gets or sets the numeric value of a NumberBox.

This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

-property-value

-remarks

Text exists to faciliate getting the string representation of this property's numeric contents without the need for type conversion. Note the content of this property will overwrite the content of Text in initial set up. After the initial set up, changes to one will be progrogated to the other, but consistently making programmatic changes through this property helps avoid any conceptual misunderstanding that NumberBox will accept non-numeric characters through the Text property.

-see-also

-examples