Articles in this section
Category / Section

How to remove default left padding in .NET MAUI Numeric Entry (SfNumericEntry)?

2 mins read

This guide explains how to remove the default left padding in the .NET MAUI Numeric Entry control by setting the Padding property to a negative value. This method effectively reduces or eliminates the default left padding.

XAML

    <inputs:SfNumericEntry WidthRequest="200"
                           HeightRequest="50"
                           Padding="-7"
                           Background="Pink">
    </inputs:SfNumericEntry>

Output

With left padding

Screenshot 2023-12-14 145620.png

Without left padding

Screenshot 2023-12-14 145734.png

Conclusion

I hope you enjoyed learning how to remove the default left padding in .NET MAUI Numeric Entry.

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 trial 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 forums, Direct-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