[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITable.ShowHeaders

ShowHeaders Property

ShowHeaders

Gets or sets whether the header row is displayed for this ITable.

Use this property to get or set whether the table displays a header row containing column names.

Declaration
bool ShowHeaders { get; set; }
Property ShowHeaders As Boolean
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Value"},
    {"Apple", 100},
    {"Orange", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
bool showHeaders = table.ShowHeaders;