[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITable.ShowAutoFilter

ShowAutoFilter Property

ShowAutoFilter

Gets or sets whether the AutoFilter is displayed.

This property is true only when the table headers are displayed and AutoFilter is enabled for the table.

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