ToolBarItemsDisplayMode 속성
Gets or sets a bit flags enumeration value that specifies which toolbar items are displayed when ToolBarMode is set to Full.
네임스페이스: Microsoft.ReportingServices.SharePoint.UI.WebParts
어셈블리: Microsoft.ReportingServices.SharePoint.UI.WebParts(Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
구문
‘선언
<WebPartStorageAttribute(Storage.Shared)> _
Public Property ToolBarItemsDisplayMode As ToolBarItem
Get
Set
‘사용 방법
Dim instance As ReportViewerWebPart
Dim value As ToolBarItem
value = instance.ToolBarItemsDisplayMode
instance.ToolBarItemsDisplayMode = value
[WebPartStorageAttribute(Storage.Shared)]
public ToolBarItem ToolBarItemsDisplayMode { get; set; }
[WebPartStorageAttribute(Storage::Shared)]
public:
property ToolBarItem ToolBarItemsDisplayMode {
ToolBarItem get ();
void set (ToolBarItem value);
}
[<WebPartStorageAttribute(Storage.Shared)>]
member ToolBarItemsDisplayMode : ToolBarItem with get, set
function get ToolBarItemsDisplayMode () : ToolBarItem
function set ToolBarItemsDisplayMode (value : ToolBarItem)
속성 값
유형: Microsoft.ReportingServices.SharePoint.UI.WebParts. . :: . .ToolBarItem
A bit flags enumeration value that specifies which toolbar items are displayed.
예
The following samples show how to use the ToolBarItemsDisplayMode property to set the visibility of toolbar items.
// Display all toolbar items
rvwp.ToolBarItemsDisplayMode = ToolBarItem.All;
// Display the Atom Feed and Back buttons only
rvwp.ToolBarItemsDisplayMode =
ToolBarItem.AtomFeed | ToolBarItem.Back;
// Display everything except Atom Feed and Back buttons
rvwp.ToolBarItemsDisplayMode = ToolBarItem.All ^ ToolBarItem.AtomFeed ^ ToolBarItem.Back;
// Remove Atom Feed from the current setting
rvwp.ToolBarItemsDisplayMode &= ~ToolBarItem.AtomFeed;
' Display all toolbar items
rvwp.ToolBarItemsDisplayMode = ToolBarItem.All
' Display the Atom Feed and Back buttons only
rvwp.ToolBarItemsDisplayMode = ToolBarItem.AtomFeed Or ToolBarItem.Back
' Display everything except Atom Feed and Back buttons
rvwp.ToolBarItemsDisplayMode = ToolBarItem.All Xor ToolBarItem.AtomFeed Xor ToolBarItem.Back
' Remove Atom Feed from the current setting
rvwp.ToolBarItemsDisplayMode = rvwp.ToolBarItemsDisplayMode And Not ToolBarItem.AtomFeed