2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
The SfNumericUpDown control provides up and down buttons to increase and decrease numeric values. The control respects UI culture and it can be configured to display different formats like currency, scientific, etc. You can refer the below screenshot for the appearance of the control.
This section explains how to hide the decrement button in NumericUpdown (SfNumericUpDown) control.
Steps
Please find the complete code snippet below.
[XAML] xmlns:numericupdown="clr-namespace:Syncfusion.SfNumericUpDown.XForms;assembly=Syncfusion.SfNumericUpDown.XForms" <StackLayout> <numericupdown:SfNumericUpDown> <!-- Setting the Button width and height to 0 will hide the button --> <numericupdown:SfNumericUpDown.DecrementButtonSettings> <numericupdown:UpDownButtonSettings ButtonHeight="0" ButtonWidth="0" /> </numericupdown:SfNumericUpDown.DecrementButtonSettings> </numericupdown:SfNumericUpDown> </StackLayout> Output
You can find the sample in the following link: Sample
The same can be applied to increment button in the control.
Note: Currently we have support to hide the increment or decrement button in our SfNumericUpDown with Android and iOS platforms alone.
See AlsoHow to customize the color appearance of numeric controls
|
2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.