Back to Devexpress

PdfFileAttachmentOpeningEventArgs.Handled Property

windowsforms-devexpress-dot-xtrapdfviewer-dot-pdffileattachmentopeningeventargs-40e5cd87.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.PdfViewer

Declaration

csharp
public bool Handled { get; set; }
vb
Public Property Handled As Boolean

Property Value

TypeDescription
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.

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

See Also

PdfFileAttachmentOpeningEventArgs Class

PdfFileAttachmentOpeningEventArgs Members

DevExpress.XtraPdfViewer Namespace