Results 1 to 2 of 2

Thread: [RESOLVED] Set RowTemplate DividerHeight in DataGridView when using AutoSizeRowsMode

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Resolved [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!

  2. #2

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Mobile, AL, USA
    Posts
    600

    Thumbs up 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
  •  



Click Here to Expand Forum to Full Width