Skip to main content
A newer version of this page is available. .

How to: Customize the Popup Menu

  • 2 minutes to read

This example shows how to customize the page content popup menu - remove specific items and add the “Save As…” item.

To do this, handle the PdfViewerControl.PopupMenuShowing event and use the PopupMenuShowingEventArgs.Actions property.

Imports System
Imports System.Collections.Generic
Imports System.Configuration
Imports System.Data
Imports System.Linq
Imports System.Threading.Tasks
Imports System.Windows

Namespace PopupMenuShowing
    ''' <summary>
    ''' Interaction logic for App.xaml
    ''' </summary>
    Partial Public Class App
        Inherits Application

    End Class
End Namespace