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

[Solved] TextBox Padding in GridViewCell's Edit Mode

0 Answers 121 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.
Ye
Top achievements
Rank 1
Ye asked on 23 Jul 2011, 03:27 AM
I modified the default style of GridViewCell and set the fontSize to 14 like this
<Setter Property="FontSize" Value="14" />
There is an issue when the GridViewCell is in Edit mode, the row's height will be heighter than others.
I found that the textBox in edit mode has an padding whose value is "2,2,2,2"。 How can i change the textBox's padding value.
Or what can I do to set the rows in the same height.
Waiting for your help.

Any example code is helpful~Thanks
Tags
GridView
Asked by
Ye
Top achievements
Rank 1
Share this question
or