Articles in this section
Category / Section

Increment and decrement the value of SfNumericUpDown control in UWP

1 min read

The value of SfNumericUpDown can be incremented or decremented using a SmallChange property. 

The value can be incremented or decremented based on the value specified in SmallChange property. The same has been explained in the following code.

Code Snippet

XAML Code

<Grid x:Name="Grid1" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
   <syncfusion:SfNumericUpDown x:Name="sfupdown" SmallChange="5" Height="35"
                               Width="250">
   </syncfusion:SfNumericUpDown>
 </Grid>

 

C# Code

namespace SfNumericTextBox_sample
{
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            this.InitializeComponent();
            SfNumericUpDown sfupdown = new SfNumericUpDown();
            sfupdown.Height = 35;
            sfupdown.Width = 250;
            sfupdown.SmallChange = 5d;
            Grid1.Children.Add(sfupdown);
        }
    }
}
 

 

Output:

SfNumericUpDown SmallChange



Conclusion

I hope you enjoyed learning how to show or hide the row or column headers in WinForms GridControl, GridGroupingControl and GridDataBoundGrid?

You can refer to our WinForms Grid feature tour page to know about its other groundbreaking feature representations. You can also explore our documentation to understand how to present and manipulate data.

For current customers, you can check out our WinForms components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our ASP.NET MVC Chart and other ASP.NET MVC components.

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied