2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
Row height You can set the row height of the GroupDropArea, it can be achieved by handling the QueryRowHeight event of the GroupDropArea. For better appearance look, the height of the GroupDropArea is also to be increased based on the row height value. C# //Setting the Height for GroupDropAreaPanel and GroupDropArea in Form_Load. this.gridGroupingControl1.GroupDropPanel.Height = 40; this.gridGroupingControl1.GridGroupDropArea.Height = 35; //Hook the event in Form_Load to change the row height of the GroupDropArea. this.gridGroupingControl1.GridGroupDropArea.Model.QueryRowHeight += Model_QueryRowHeight; void Model_QueryRowHeight(object sender, GridRowColSizeEventArgs e) { //Check for the row index if (e.Index == 2) { e.Size = 30; e.Handled = true; } }
VB 'Setting the Height for GroupDropAreaPanel and GroupDropArea in Form_Load. Me.gridGroupingControl1.GroupDropPanel.Height = 40 Me.gridGroupingControl1.GridGroupDropArea.Height = 35 'Hook the event in Form_Load to change the row height of the GroupDropArea. AddHandler Me.gridGroupingControl1.GridGroupDropArea.Model.QueryRowHeight, AddressOf Model_QueryRowHeight Private Sub Model_QueryRowHeight(ByVal sender As Object, ByVal e As GridRowColSizeEventArgs) 'Check for the row index If e.Index = 2 Then e.Size = 30 e.Handled = True End If End Sub
ScreenShot Figure1: GroupDropArea height has been increased Samples:
|
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.