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. Image for the cookie policy date
close icon

Custom CSS for border color

Hello dears,

Kindly I need your kind support to customize the style of Numerictextbox for border color when the control get focus.


3 Replies

KS Kaviyarasu Sivasenapathi Syncfusion Team June 15, 2017 12:39 PM UTC

Hi Anas,      
We have analyzed your query (how to customize the style of Numeric textbox for border color when the control get focus). We can achieve your requirement, using the “CssClass” property. It will set the root CSS class for textboxes which allow us to customize the appearance. The ‘e-focus’ class will be added while focusing the textbox, and by identifying that you can change the appearance. Please refer to the below code example.      
.customCss.e-numeric.e-focus .e-box {   
To know more details about NumericTextbox, please refer the following documentation link.       
For your reference, we have prepared a sample based on your requirement and it can be available in following location.      
Kaviyarasu S  

AA Anas Alwindawee June 16, 2017 09:08 PM UTC

Hi Kaviyarasu,Many thanks for your kind and usual support, it's OK and working, one more thing please where can I found a good documentation about the style classes structure of the controls ?BR

KS Kaviyarasu Sivasenapathi Syncfusion Team June 19, 2017 10:54 AM UTC

Hi Anas, 
To know more about “CssClasscustomization please refer the below documentation link. 
Kaviyarasu S 

Live Chat Icon For mobile
Up arrow icon