Getting Started with UWP Numeric TextBox (SfNumericTextBox)

23 Jun 20231 minute to read

Namespace:  Syncfusion.UI.Xaml.Controls.Input
Assembly:  Syncfusion.SfInput.UWP 

Dependent assembly: Syncfusion.SfShared.UWP

The following code sample shows how to create the SfNumericTextBox from code-behind and XAML,

<Page xmlns:editors="using:Syncfusion.UI.Xaml.Controls.Input">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">



        <editors:SfNumericTextBox HorizontalAlignment="Center"

                               VerticalAlignment="Center"

                               Width="200"

                               Value="123.45"/>



    </Grid>

</Page>
SfNumericTextBox numericTextBox = new SfNumericTextBox();
Dim numericTextBox As New SfNumericTextBox()

See also

How to restrict the decimal values in SfNumericTextBox

NOTE

You can refer to our UWP Numeric Textbox feature tour page to know about its other groundbreaking feature representations. You can also explore our UWP Numeric Textbox example that shows you how to render and configure the Numeric textbox in UWP.