We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize NumericTextBox Background and ForeGround color

We can customize the background and foreground color of numericTexBox control by using “BackgroundColor and TextColor” properties. The following steps illustrate the way to set the background and foreground color of numericTextBox

 

Step 1: Add needed assemblies for NumericTextBox

Step 2: Create a NumericTextBox instance with needed properties.

Step 3: Set the “BackgroundColor “, “TextColor proeprties value for customize the view of NumericTextBox

 

The following code illustrates the way to set the background and foreground color of numericTextBox

 

Code in Xaml :

 

 

Code in C#:

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7586 03/23/2017 03/23/2017 Xamarin.Forms SfNumericTextBox
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon