The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Is there any way of displaying multiline header in Winform Datagrid I tried adding newline character in HeaderText of DataGridTextBoxColumn, set the Multiline property to true but nothing seems to work.
--Thanks
Mahesh
ADAdministrator Syncfusion Team August 31, 2004 06:04 PM UTC
Using vbcrlf & increasing datagrid HeaderFont property, v can achive this. find below ex
Dim dgCol As DataGridTextBoxColumn
dgCol = New DataGridTextBoxColumn
dgCol.MappingName = "Id_Emp"
dgCol.HeaderText = "Employee" & vbCrLf & "Id"
dgCol.Width = 45
dgsTblStyle.GridColumnStyles.Add(dgCol)
and set datagrid HeaderFont property as Arial 25
>
>Is there any way of displaying multiline header in Winform Datagrid I tried adding newline character in HeaderText of DataGridTextBoxColumn, set the Multiline property to true but nothing seems to work.
>
>--Thanks
> Mahesh