PdfViewer.CreateRibbon(PdfViewerToolbarKind) Method
Creates a set of ribbon tabs with actions specific to the PdfViewer control.
Namespace: DevExpress.XtraPdfViewer
Assembly: DevExpress.XtraPdfViewer.v24.1.dll
NuGet Package: DevExpress.Win.PdfViewer
Declaration
Parameters
Name | Type | Description |
---|---|---|
flags | PdfViewerToolbarKind | The PdfViewerToolbarKind enumeration value specifying a set of ribbon tabs that should be created. |
Remarks
The code sample below creates a ribbon UI for the PDF Viewer:
public Form1()
{
InitializeComponent();
this.Controls.Add(pdfViewer);
pdfViewer.CreateRibbon(PdfViewerToolbarKind.Main);
}
See Also