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

How do I remove padding between first column and grid border?

2 Answers 345 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marius
Top achievements
Rank 1
Marius asked on 15 Dec 2010, 10:12 AM
I've removed the row header by setting the RowIndicatorVisibility="Collapsed" property on my RadGridView. I notice that there is a gap between the gridview border and the first column cells. There also seems to be some sort of gradient effect to the left of the first columns cells. How can I remove the pixel-gap between the border of the grid and the first columns cells? I would also like to know if its possible to remove the aforementioned gradient effect.

My grid is styled with the office blue theme (StyleManager.Theme="Office_Blue")

2 Answers, 1 is accepted

Sort by
0
Accepted
Vanya Pavlova
Telerik team
answered on 15 Dec 2010, 12:25 PM
Hi Marius,


This is the FrozenColumnSplitter in your RadGridView, you can remove it through setting CanUserFreezeColumns property of RadGridView to False.

Best wishes,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
Eric
Top achievements
Rank 1
answered on 27 Oct 2011, 09:40 PM
I've been looking for this for days! Of course, what you call padding I call a bevel.

I'd also like to add (if this hasn't been changed in later versions) that you cannot place CanUserFreezeColumns or RowIndicatorVisibility in a UserResource style...at least not one applied by using Style="".

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