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

[Solved] Reduce padding/margin on GridViewRow

1 Answer 105 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.
Scott Waye
Top achievements
Rank 2
Iron
Iron
Veteran
Scott Waye asked on 23 Oct 2010, 09:21 PM
Is it possible using the RowStyle to reduce the vertical padding/margin on rows?

--
Scott

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 26 Oct 2010, 08:00 AM
Hello Scott,

You can decrease the Padding in a GridViewCell through creating a simple style that targets at GridViewCell and sets its Padding property to an appropriate value, as it shown in the following markup:

<Style TargetType="telerik:GridViewCell">
   <Setter Property="Padding" Value="0"/>
</Style>


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
Tags
GridView
Asked by
Scott Waye
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Vanya Pavlova
Telerik team
Share this question
or