officefileapi-devexpress-dot-docs-dot-presentation-dot-table-ec1ddb70.md
Gets or sets whether to highlight the first row.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public bool HasHeaderRow { get; set; }
Public Property HasHeaderRow As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the first row is highlighted; otherwise, false.
|
The following image shows a table with the first row highlighted:
using DevExpress.Docs.Presentation;
namespace PresentationApiSample;
public class Program {
public static void Main(string[] _) {
//...
table.HasBandedColumns = true;
table.HasBandedRows = true;
table.HasFirstColumn = true;
table.HasLastColumn = true;
table.HasTotalRow = true;
table.HasHeaderRow = true;
}
}
Imports DevExpress.Docs.Presentation
Namespace PresentationApiSample
Public Class Program
Public Shared Sub Main(__ As String())
'...
table.HasBandedColumns = True
table.HasBandedRows = True
table.HasFirstColumn = True
table.HasLastColumn = True
table.HasTotalRow = True
table.HasHeaderRow = True
End Sub
End Class
End Namespace
See Also