ReportViewerWebPart.ToolBarMode 属性

Gets or sets the display mode of the toolbar.

命名空间:  Microsoft.ReportingServices.SharePoint.UI.WebParts
程序集:  Microsoft.ReportingServices.SharePoint.UI.WebParts(在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)

语法

声明
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ToolBarMode As ToolBarDisplayMode
    Get
    Set
用法
Dim instance As ReportViewerWebPart
Dim value As ToolBarDisplayMode

value = instance.ToolBarMode

instance.ToolBarMode = value
[WebPartStorageAttribute(Storage.Shared)]
public ToolBarDisplayMode ToolBarMode { get; set; }
[WebPartStorageAttribute(Storage::Shared)]
public:
property ToolBarDisplayMode ToolBarMode {
    ToolBarDisplayMode get ();
    void set (ToolBarDisplayMode value);
}
[<WebPartStorageAttribute(Storage.Shared)>]
member ToolBarMode : ToolBarDisplayMode with get, set
function get ToolBarMode () : ToolBarDisplayMode
function set ToolBarMode (value : ToolBarDisplayMode)

属性值

类型: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.