Skip to main content
A newer version of this page is available. .

DocumentCancelEventArgs(BaseDocument, Boolean) Constructor

Initializes a new DocumentCancelEventArgs instance with the specified document and the cancel parameter.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

public DocumentCancelEventArgs(
    BaseDocument document,
    bool cancel
)

Parameters

Name Type Description
document BaseDocument

The BaseDocument. The value is assigned to the DocumentCancelEventArgs.Document property.

cancel Boolean

true if the selected document will not be closed; otherwise, false.

See Also