Skip to main content

PdfViewerControl.FileAttachmentOpening Event

Occurs when an attachment is opening in the Attachments panel and allows you to manage the attachment opening behavior.

Namespace: DevExpress.UI.Xaml.Controls

Assembly: DevExpress.UI.Xaml.Controls.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public event EventHandler<PdfFileAttachmentOpeningEventArgs> FileAttachmentOpening

Event Data

The FileAttachmentOpening event's data class is DevExpress.UI.Xaml.Controls.PdfFileAttachmentOpeningEventArgs.

Remarks

Set the e.Cancel event’s property to true to prevent the attachment from loading. Set the e.Handled property to true to hide the Security Warning message box.

See Also