Share via


ListObject.ShowAutoFilter Property

Gets or sets a value that indicates whether the AutoFilter is displayed.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Property ShowAutoFilter As Boolean
bool ShowAutoFilter { get; set; }

Property Value

Type: System.Boolean
true if the AutoFilter is displayed; otherwise, false.

Remarks

The ShowAutoFilter property defaults to true for a new ListObject control.

.NET Framework Security

See Also

Reference

ListObject Interface

Microsoft.Office.Tools.Excel Namespace