Getting Started with UWP Numeric TextBox (SfNumericTextBox)

25 May 20211 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