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

Corner radius for entire header row

3 Answers 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Eli
Top achievements
Rank 1
Eli asked on 26 Jan 2012, 04:43 PM
Hello.
I am using Telerik 2011.2 in a MVVM application.
What I want to do is round the edges of the entire header row, I have been able to fake it thus far by setting the corner radius for the upper right corner on the GridViewHeaderRow, and templating the left most column's HeaderCellStyle. The problem being that the user cannot rearrange the columns or else it looks very bad. I would like to set the corner radius for the upper right and left corners "above" the individual cells so that it works no matter the order or content of the individual cells. Don't know the property I am looking for. I have tried finding it in expression blend but cannot seem to get the right style in the editor. If you could give me a copy of the default style involved I can modify it is needed, thank you.

Eli

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 26 Jan 2012, 04:49 PM
Hello Eli,

 

Please check this forum thread "HeaderRowStyle, rounded corners?" for further reference. 
Will you verify how this works for you? 



Regards,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Eli
Top achievements
Rank 1
answered on 26 Jan 2012, 05:06 PM
Hello Vanya,

Thank you for the prompt response.

I went to the link you provided @ http://www.telerik.com/community/forums/silverlight/gridview/headerrowstyle-rounded-corners.aspx

The response to that question was the following link. http://www.telerik.com/community/forums/wpf/gridview/rounded-corners.aspx

The person was asking about rounding the corners of the data cells not the header, you responded to him with the following link, he said that he could not follow and had fixed the problem with clipping paths. http://www.telerik.com/community/forums/silverlight/gridview/round-cornered-row-style-sl-datagrid.aspx

In this link you provided a sample program, in this you showed how rounded corners can be added to the data cells below the header.

I do not need to create rounded corners on the cells. I need to find the header container and round it's upper corners so that it clips off the corners on the left and right hand side of the header cells. All I need is the default style for the header container. Thank you.

Eli
0
Vanya Pavlova
Telerik team
answered on 30 Jan 2012, 01:49 PM
Hello Eli,

 

I am attaching you sample project with the default template of GridViewHeaderRow. 
Feel free to modify it in the way you need. 



Greetings,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Eli
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Eli
Top achievements
Rank 1
Share this question
or