We can customize the border of NumericTextBox by using “BorderColor” property in it. Not only this property, we can also customize the border style like thickness, shapeType of NumericTextBox by using custom renderer class.
Using NumericTextBox’s Property:
The following code example will helpful to have border color in NumericTextBox by using our “BorderColor “property.
Code in Xaml:
Code in C#
Using Custom Renderer:
The following code example will helpful to have border style in NumericTextBox by using custom renderer. The following steps are needed to do this with custom renderer
Step1: Create our custom NumericTextBox by inheriting the SfNumericTextBox class.
Step 2: likewise create a custom SfNumericTextBoxRenderer
class by inheriting SfNumericTextBoxRenderer
Code of Custom Renderer in Android:
Code of CustomRenderer in iOS:
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.