ExcelWebRenderer.ToolbarStyle Property
Shows or hides the toolbar.
Namespace: Microsoft.Office.Excel.WebUI
Assembly: Microsoft.Office.Excel.WebUI (in Microsoft.Office.Excel.WebUI.dll)
Syntax
'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebPartStorageAttribute(Storage.Shared)> _
<WebBrowsableAttribute(True)> _
Public Property ToolbarStyle As ToolbarVisibilityStyle
Get
Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As ToolbarVisibilityStyle
value = instance.ToolbarStyle
instance.ToolbarStyle = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebPartStorageAttribute(Storage.Shared)]
[WebBrowsableAttribute(true)]
public ToolbarVisibilityStyle ToolbarStyle { get; set; }
Property Value
Type: Microsoft.Office.Excel.WebUI.ToolbarVisibilityStyle
0 if toolbar is set to show a full toolbar. 1 if toolbar is set to show a summary toolbar. 2 if toolbar is set to show a navigation only toolbar. 3 if the toolbar is to be hidden.
Remarks
Valid values are 0, 1, 2, and 3. Also see the ToolbarVisiblityStyle enumeration.