How to Set the Height of a Row in Windows Forms GridDataBoundGrid(Classic)
28 Apr 2021 / 1 minute to read
This page explains How to Set the Height of a Row and more details.
How to Set the Height of a Row
To explicitly set the height of a particular row, use the Model.RowHeights collection.
//Sets height of row 3 to 40. this.gridDataBoundGrid1.Model.RowHeights = 40; //Sets height of header row 30. this.gridDataBoundGrid1.Model.RowHeights = 30;
'Sets height of row 3 to 40. Me.GridDataBoundGrid1.Model.RowHeights(3) = 40 'Sets height of header row 30. Me.GridDataBoundGrid1.Model.RowHeights(0) = 30
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page