How to Set the Height of a Row in Windows Forms GridDataBoundGrid(Classic)
9 Dec 2019 / 1 minute to read
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