2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
Change the header textThe column header text of the GridListControl can be changed by setting the text property of header cell in PrepareViewStyleInfo event of GridListControl. C# //Triggering the event. this.gridListControl1.Grid.PrepareViewStyleInfo += Grid_PrepareViewStyleInfo; //Event customization. void Grid_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e) { //Check whether cell is header cell or not. if(e.ColIndex == 1 && e.RowIndex == 0) { e.Style.Text = "Header"; } }
VB 'Triggering the event. Private Me.gridListControl1.Grid.PrepareViewStyleInfo += AddressOf Grid_PrepareViewStyleInfo 'Event customization. Private Sub Grid_PrepareViewStyleInfo(ByVal sender As Object, ByVal e As GridPrepareViewStyleInfoEventArgs) 'Check whether cell is header cell or not. If e.ColIndex = 1 AndAlso e.RowIndex = 0 Then e.Style.Text = "Header" End If End Sub
Screenshot 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.