ExcelWebRenderer.ShowVisibleItemButton Property
Shows or hides View drop-down list.
Namespace: Microsoft.Office.Excel.WebUI
Assembly: Microsoft.Office.Excel.WebUI (in Microsoft.Office.Excel.WebUI.dll)
Syntax
'Declaration
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ShowVisibleItemButton As Boolean
Get
Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As Boolean
value = instance.ShowVisibleItemButton
instance.ShowVisibleItemButton = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebPartStorageAttribute(Storage.Shared)]
public bool ShowVisibleItemButton { get; set; }
Property Value
Type: System.Boolean
To show View drop-down list, set to true; otherwise set to false. The default is true.
Remarks
The ShowVisibleItem property is a child of the AllowNavigation property. Therefore, if the AllowNavigation property is set to false, the ShowVisibleItem property does not apply (that is, the View drop-down list will not be shown).