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

Rounded corners on GridView within a TabItem

1 Answer 183 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sander
Top achievements
Rank 1
Sander asked on 01 Jun 2012, 03:20 PM
Hi,

We are currently styling a project with Telerik controls. But we are facing a problem concerning the GridView component.
In attached image you can see rounded corners around de GridView. How can we accomplish that in our project, there is a screenshot attached from how we have done it now. We want to style it with one resource library and no styling done in the MainPage xaml. Can someone provide us with an example of how we can achieve this?

Thanks
Sander

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 04 Jun 2012, 06:17 AM
Hi,

 You can simply wrap RadGridView in a Border and set desired CornerRadius. For example:

<Border CornerRadius="7" BorderThickness="5" BorderBrush="Red">
    <telerik:RadGridView ItemsSource="{Binding}" />
 </Border>

All the best,
Vlad
the Telerik team

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

Tags
GridView
Asked by
Sander
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or