Skip to main content

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