Share via


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
<WebBrowsableAttribute(True)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ToolbarStyle As ToolbarVisibilityStyle
    Get
    Set
'Usage
Dim instance As ExcelWebRenderer
Dim value As ToolbarVisibilityStyle

value = instance.ToolbarStyle

instance.ToolbarStyle = value
[WebBrowsableAttribute(true)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
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.

See Also

Reference

ExcelWebRenderer Class

ExcelWebRenderer Members

Microsoft.Office.Excel.WebUI Namespace