Range Support in Xamarin Numeric Entry (SfNumericTextBox)

19 May 20211 minute to read

Restrict the Values within a specific range by setting the Maximum and Minimum property values.

<syncfusion:SfNumericTextBox x:Name="numericTextBox" Maximum="1000" Minimum="50" Value="10"/>
StackLayout stack = new StackLayout();
        SfNumericTextBox numericTextBox = new SfNumericTextBox();
        numericTextBox.Minimum = 50;
        numericTextBox.Maximum = 1000;
        numericTextBox.Value = 10;
        stack.Children.Add(numericTextBox);
        this.Content = stack;

NOTE

Default Value of Maximum and Minimum is “null”.

SfNumericTextBox RangeSupport