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

Round cornered Row style SL DataGrid

6 Answers 205 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Manish Kumar
Top achievements
Rank 1
Manish Kumar asked on 23 Jul 2010, 11:24 AM
Hi
Please suggest how we can achieve round cornered rows in a DataGridview as show in the attached file.

thanks and regards
Manish Kumar

6 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 23 Jul 2010, 03:10 PM
Hi Manish Kumar,

I have prepared a sample project which demonstrates how you can achieve this. This is possible through  restyling the GridViewRow Please give it a try and let me know how it goes.

Greetings,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Manish Kumar
Top achievements
Rank 1
answered on 23 Jul 2010, 03:35 PM
Hi Vanya

I apprieciate for your quick reply. I really hope your code will definitely help me but I need to get sure if the same code will work for Silverlight 3. and If not do what else can i do so that i will work with SL3.
I am also facing problem with xaml code  telerik:SelectiveScrollingGrid.SelectiveScrollingClip="True" application is unable to locate this SelectiveScrollingClip property do i need to take any dll reference. if so which is that.

thanks again
Manish Kumar

0
Accepted
Vanya Pavlova
Telerik team
answered on 23 Jul 2010, 04:36 PM
Hello Manish Kumar,

Thank you for your feedback-You can download the SL3 version of the project.
Best wishes,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Manish Kumar
Top achievements
Rank 1
answered on 26 Jul 2010, 11:05 AM
Thanks Vanya ,

I am able to get the datagrid with rounded corner rows. I also like to know

i. if I don't require RowIndicatorVisibility (="Collapsed") then where in xaml i need to make modification so that it can replace with the round corner at the left most side of the DataGrid.
ii. How I can change the color of the header from Grey to as of DataGrid background
iii. Where are we setting the DataGrid width.

thanks 
Manish Kumar


 
0
Accepted
Vanya Pavlova
Telerik team
answered on 26 Jul 2010, 01:35 PM
Hello Manish Kumar,

1.You should edit the CornerRadius property of the (1)"PART_IndicatorPresenter"
and the CornerRadius of the (2)"NavigatorIndicatorBackground" to achieve desired result.
Look at your style and replace the CornerRadius with CornerRadius="6,6,6,6" for (1) and (2).

2.In order to change background color of the GridViewHeaderRow you should edit the template and edit the brush used to paint HeaderBackground.

3.You can change the width and height of the GridView by setting its Width and Height properties.
All the best,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Manish Kumar
Top achievements
Rank 1
answered on 26 Jul 2010, 01:40 PM
hi Vanya

Thank you so much for resolving my queries. I will bother you again when face any problem using Telerik controls.

Manish

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