[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISort.Header

Header Property

Header

Gets or sets whether the sort range contains a header.

Use this property to determine whether the current sort configuration treats the first row in the sort range as a header row.

Declaration
bool Header { get; set; }
Property Header As Boolean
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Score"},
    {"Alice", 100},
    {"Bob", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
bool hasHeader = table.Sort.Header;