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

ReportDesignerDocumentCancelEventArgs(ReportDesignerDocument, Boolean) Constructor

Initializes a new instance of the ReportDesignerDocumentCancelEventArgs class with the specified settings.

Namespace: DevExpress.Xpf.Reports.UserDesigner

Assembly: DevExpress.Xpf.ReportDesigner.v24.2.dll

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

public ReportDesignerDocumentCancelEventArgs(
    ReportDesignerDocument document,
    bool cancel = false
)

#Parameters

Name Type Description
document ReportDesignerDocument

An object that specifies a report document. This value is assigned to the ReportDesignerDocumentCancelEventArgs.Document property.

#Optional Parameters

Name Type Default Description
cancel Boolean False

A value that specifies whether to cancel closing the document. This value is assigned to the Cancel property.

See Also