Files to look at: MainWindow.xaml.cs (VB: MainWindow.xaml.vb) How to programmatically add a PDF Viewer control at runtime This example demonstrates how to add a PDFViewerControl at runtime.