Skip to main content

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