This is a migrated thread and some comments may be shown as answers.

How to change the cell border color on cell edit time ?

2 Answers 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 16 Oct 2012, 03:00 AM
Hi,
When i select a cell to edit a yellow border is appearing i want to change that yellow to blue, i tried to change it in GridViewCell template, but not able to see any related elements. 

can you please tell me where i can change it ?

please check the attached image.

Thanks in Advance.
Srinivas.

2 Answers, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 17 Oct 2012, 09:15 AM
Hello Srinivas, 

 You can predefine the styles for the TextBox based on the current theme that you are using. You have to locate the file - "System.Windows.xaml" and add it to your project. Then find the styles for the TextBox and change the colours of "MouseOver" and "Focused" visual states. For your convenience I have attached sample project.

Kind regards,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Ravi
Top achievements
Rank 1
answered on 19 Oct 2012, 04:06 AM
Hi Yoan,

Thanks for your help, its working.


Regards,
Srinivas.

Tags
GridView
Asked by
Ravi
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Ravi
Top achievements
Rank 1
Share this question
or