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

Problems with GridView Borders/Gridlines

1 Answer 122 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 02 Feb 2021, 03:24 PM
Hello

I am trying to give different columns a border color.
I can change the background but the border properties are not changed.

Is this possible or do I need to use a workaround?

Regards

Daniel

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 05 Feb 2021, 11:28 AM

Hi Daniel,

May I ask you to elaborate more on which exact part you want to modify? Basically, the column border is represented by a border inside the GridViewCell. So you could modify this by extracting and modifying the default template of the GridViewCell. In the extracted template, you can change the Border element with x:Name="PART_CellBorder ."

However, to be more specific, it will be better to send me an image of the elements you want to style. 

Regards,
Dinko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products, quickly just got a fresh new look + new and improved content, including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Daniel
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or