Back to Devexpress

PdfViewerCommand.CreateContextMenuBarItem(BarManager) Method

windowsforms-devexpress-dot-xtrapdfviewer-dot-commands-dot-pdfviewercommand-dot-createcontextmenubaritem-x28-devexpress-dot-xtrabars-dot-barmanager-x29.md

latest1.8 KB
Original Source

PdfViewerCommand.CreateContextMenuBarItem(BarManager) Method

Supports the context menu initialization in a PDF Viewer.

Namespace : DevExpress.XtraPdfViewer.Commands

Assembly : DevExpress.XtraPdfViewer.v25.2.dll

NuGet Package : DevExpress.Win.PdfViewer

Declaration

csharp
public virtual BarItem CreateContextMenuBarItem(
    BarManager barManager
)
vb
Public Overridable Function CreateContextMenuBarItem(
    barManager As BarManager
) As BarItem

Parameters

NameTypeDescription
barManagerBarManager

A BarManager that maintains the application bars and individual bar items.

|

Returns

TypeDescription
BarItem

A BarItem element.

|

Remarks

The following image illustrates the PDF Viewer context menu.

See Also

PdfViewerCommand Class

PdfViewerCommand Members

DevExpress.XtraPdfViewer.Commands Namespace