Back to Devexpress

AttachmentOpeningEventArgs.Cancel Property

wpf-devexpress-dot-xpf-dot-pdfviewer-dot-attachmentopeningeventargs-7f7f1735.md

latest1.4 KB
Original Source

AttachmentOpeningEventArgs.Cancel Property

Gets or sets a value that specifies how to manage open attachment behavior without the Security Warning message box; if true , attachment contents are not opened.

Namespace : DevExpress.Xpf.PdfViewer

Assembly : DevExpress.Xpf.PdfViewer.v25.2.dll

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

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

Property Value

TypeDescription
Boolean

true, to cancel opening the attachment; otherwise, false.

|

Remarks

Use the Cancel property to specify how to manage the open attachment behavior without showing the Security Warning message box.

See Also

AttachmentOpeningEventArgs Class

AttachmentOpeningEventArgs Members

DevExpress.Xpf.PdfViewer Namespace