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

PopupMenuShowingEventArgs.Actions Property

Provides access to the collection of actions.

Namespace: DevExpress.Xpf.PdfViewer

Assembly: DevExpress.Xpf.PdfViewer.v18.2.dll

Declaration

public IList<IControllerAction> Actions { get; }

Property Value

Type Description
IList<IControllerAction>

A dynamic data collection of objects implementing the IControllerAction interface.

Example

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
See Also