Skip to main content

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

PdfFileAttachmentOpeningEventArgs.Handled Property

Gets or sets a value that specifies whether the PdfViewer.FileAttachmentOpening event is handled; if handled, the Security Warning message box is hidden.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v24.2.dll

NuGet Package: DevExpress.Win.PdfViewer

#Declaration

public bool Handled { get; set; }

#Property Value

Type Description
Boolean

true, if the Security Warning message box is hidden; otherwise false.

#Remarks

The Handled property is set to false, by default. This shows a Security Warning message box when clicking the “Open file in its native application” icon or double-clicking the attachment in the Attachments tab of the PDF Viewer.

AttachmentSecurityWarning

To hide the message box, set the Handled property to true.

See Also