2X faster development
The ultimate Xamarin UI toolkit to boost your development speed.
This article explains how to change the default appearance of both the SfNumericTextBox and SfNumericUpDown controls in Xamarin.Forms by using its available color customization properties like BackgroundColor, TextColor, BorderColor and WatermarkColor as per in the following code snippets
[XAML] … <xforms:SfNumericTextBox HorizontalOptions="Center" BackgroundColor="Black" BorderColor="White" TextColor="#dd47e8" Value="1000" FormatString="c" /> … <xforms1:SfNumericUpDown HorizontalOptions="Center" WidthRequest="200" BorderColor="White" BackgroundColor="Black" TextColor="#dd47e8" Value="1000" FormatString="c" > <xforms1:SfNumericUpDown.DecrementButtonSettings> <xforms1:UpDownButtonSettings BackgroundColor="#f69d7b"/> </xforms1:SfNumericUpDown.DecrementButtonSettings> <xforms1:SfNumericUpDown.IncrementButtonSettings> <xforms1:UpDownButtonSettings BackgroundColor="#60b976"/> </xforms1:SfNumericUpDown.IncrementButtonSettings> </xforms1:SfNumericUpDown> … Output
See Also |
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.