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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to custom the Font in NumericTextBox

We can customize the font style of NumericTextBox by using the following properties.

 

FontSize: set the font size for NumericTextBox’s text.

 

FontAttributes: set the style of NumericTextBox’s text. We can give three types of style on it

  • Bold- The font is bold
  • Italic – The font is Italic
  • None – The font is unmodified.

The following code illustrates that how-to custom the font style of NumericTextBox

Code in Xaml

Code in C#

Font Size 27 with Bold Attributes

Font Size 27 with Italic Attributes

 

Font Size 27 with unmodified Attributes

 

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7585 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