Home Forums WinForms controls Xceed Grid for WinForms fixed row height Reply To: fixed row height

Xceed Support
Post count: 5658

You could easily implement it through the HeightChanged event:

Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)

AddHandler gridControl1.DataRowTemplate.HeightChanged, AddressOf DataRowTemplate_HeightChanged
End Sub

Private Sub DataRowTemplate_HeightChanged(ByVal sender As Object, ByVal e As EventArgs)
DirectCast(sender, Xceed.Grid.DataRow).Height = 16 ‘or the original height
End Sub

Imported from legacy forums. Posted by CharlesB (had 358 views)