Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfViewer.ShellExecuting Event

In This Article

Fires on launch action execution in all cases except when opening a PDF file.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v24.2.dll

NuGet Package: DevExpress.Win.PdfViewer

#Declaration

public event PdfShellExecutingEventHandler ShellExecuting

#Event Data

The ShellExecuting event's data class is PdfShellExecutingEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
DefaultDirectory Gets the directory that contains the started process.
FilePath Gets the application that started, or the document associated with the application.
Handled Gets or sets whether an event was handled. If it was handled, the default security dialog is not displayed.
Parameters Gets command-line arguments used to start the target application.
See Also