Edit this page

Wiring UI

RadPdfViewer provides commands and respective command descriptors that you can easily bind to when creating UI.

You can download a runnable project from our online SDK repository here, the example is listed as PdfViewer / FirstLook.

The project is wired to work with RadToolBar and RadContextMenu.

You can note how the DataContext of the toolbar is bound to the instance of RadPdfViewer on the same page.