ReportViewerWebPart.ToolBarMode Property

Gets or sets the display mode of the toolbar.

Namespace:  Microsoft.ReportingServices.SharePoint.UI.WebParts
Assembly:  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)


<WebPartStorageAttribute(Storage.Shared)> _
Public Property ToolBarMode As ToolBarDisplayMode
Dim instance As ReportViewerWebPart
Dim value As ToolBarDisplayMode

value = instance.ToolBarMode

instance.ToolBarMode = value
public ToolBarDisplayMode ToolBarMode { get; set; }
property ToolBarDisplayMode ToolBarMode {
    ToolBarDisplayMode get ();
    void set (ToolBarDisplayMode value);
member ToolBarMode : ToolBarDisplayMode with get, set
function get ToolBarMode () : ToolBarDisplayMode
function set ToolBarMode (value : ToolBarDisplayMode)

Property Value

Type: Microsoft.ReportingServices.SharePoint.UI.WebParts.ToolBarDisplayMode
A ToolBarDisplayMode enumeration value that indicates whether to display no tool bar, a toolbar with navigational controls only, or the full toolbar.


When ToolBarMode is set to Full, you can further specify the toolbar items to display in the ToolBarItemsDisplayMode property.