ListObject.ShowAutoFilter Property (2007 System)
Gets or sets a value that indicates whether the AutoFilter is displayed.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public Property ShowAutoFilter As Boolean
'Usage
Dim instance As ListObject
Dim value As Boolean
value = instance.ShowAutoFilter
instance.ShowAutoFilter = value
public bool ShowAutoFilter { get; set; }
public:
property bool ShowAutoFilter {
bool get ();
void set (bool value);
}
public function get ShowAutoFilter () : boolean
public function set ShowAutoFilter (value : boolean)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.