Share via


ExcelWebRenderer.AllowFiltering Property

Allows users to filter using autofilter, sheet, table, and PivotTable reports and charts.

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property AllowFiltering As Boolean
    Get
    Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As Boolean

value = instance.AllowFiltering

instance.AllowFiltering = value
[WebPartStorageAttribute(Storage.Shared)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(true)]
public bool AllowFiltering { get; set; }

Property Value

Type: System.Boolean
true if filtering is allowed; otherwise, false. The default is true.

Remarks

The user interface entry points are hidden and all filtering functionalities in the user interface are disabled if this property is set to false. Filtering that is already applied to the workbook is still displayed.

See Also

Reference

ExcelWebRenderer Class

ExcelWebRenderer Members

Microsoft.Office.Excel.WebUI Namespace