|
-
Jul 14th, 2009, 09:54 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Set RowTemplate DividerHeight in DataGridView when using AutoSizeRowsMode
Hi,
I'm using a DataGridView in a WinForms project with the AutoSizeRowsMode set to "AllCells". I would like to increase the space between rows, but setting the DividerHeight in the RowTemplate has no effect. Does anyone know how to increase the space between rows when the AutoSizeRowsMode is a value other than "None"?
Thanks!
-
Jul 15th, 2009, 05:48 AM
#2
Thread Starter
Fanatic Member
Re: Set RowTemplate DividerHeight in DataGridView when using AutoSizeRowsMode
I figured it out. I was able to get this like I wanted by setting the padding on the DefaultCellStyle.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|