Rounded corners on RadGridView

1 Answer 67 Views
GridView Styling
loic
Top achievements
Rank 1
Iron
loic asked on 10 Nov 2021, 01:50 PM

Hello, I'm trying to set rounded corners for my RadGridView but can't figure out how to do it, I tried putting it in a border with CornerRadius but it did nothing

1 Answer, 1 is accepted

Sort by
0
Stenly
Telerik team
answered on 15 Nov 2021, 10:13 AM

Hello Ioic,

I have prepared a sample project showing how to achieve the wanted behavior. Basically, the project implements the approach from the Rounded Corner Datagrid in WPF blog post, which is to place the already created border into an additional Border element. In addition, as mentioned in the provided article, both of the border elements should have identical values for the CornerRadius property, otherwise, the grid view will be visualized with wrong corners.

With that said, I hope the proposed approach works in your current project scenario. Also, I have attached the mentioned project for you to test.

Regards,
Stenly
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 Styling
Asked by
loic
Top achievements
Rank 1
Iron
Answers by
Stenly
Telerik team
Share this question
or