Getting Started with UWP Numeric UpDown (SfNumericUpDown)

22 Aug 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 SfNumericUpDown from code-behind and XAML,

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



    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">



        <editors:SfNumericUpDown x:Name="numericUpDown"

                               HorizontalAlignment="Center"

                               VerticalAlignment="Center"

                               Width="200" 

                               Value="123.45"/>

    </Grid>

</Page>
SfNumericUpDown numericUpDown = new SfNumericUpDown() { Width = 200, Value = 123.45 };
Dim numericUpDown As New SfNumericUpDown() With {
	.Width = 200,
	.Value = 123.45
}

See also

How to restrict the decimal values in SfNumericUpDown

How to increment and decrement the value of SfNumericUpDown control