How to customize the increment and decrement values of .NET MAUI Numeric Entry (SfNumericEntry)?
The .NET MAUI Numeric Entry (SfNumericEntry) control allows customization of increment and decrement values using the SmallChange property. By default, this value is “1”. To customize it, set the SmallChange property to “0.1”.
XAML
<syncfusion:SfNumericEntry x:Name="numericEntry"
Value="99.33"
CustomFormat="0.00 cm"
UpDownPlacementMode="Inline"
SmallChange="0.1" />
C#
SfNumericEntry numericEntry = new SfNumericEntry();
numericEntry.Value = 99.33
numericEntry.CustomFormat = "0.00 cm";
numericEntry.UpDownPlacementMode = NumericEntryUpDownPlacementMode.Inline;
numericEntry.SmallChange = 0.1;
Output
Conclusion
I hope you enjoyed learning how to customize the increment and decrement values in .NET MAUI Numeric Entry (SfNumericEntry).
Refer to our .NET MAUI Numeric Entry feature tour page to learn about its other groundbreaking feature representations. You can explore our .NET MAUI Numeric Entry documentation to understand its features and how to use it.
Check out our .NET MAUI components from the License and Downloads page for current customers. If you are new to Syncfusion®, try our 30-day free trail to check out our .NET MAUI Numeric Entry and other .NET MAUI components.
Please let us know in the comments section if you have any queries or require clarification. You can also contact us through our support forum, Direct-Trac, or feedback portal. We are always happy to assist you!