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.v20.2.dll

Declaration

public DocumentCancelEventArgs(
    BaseDocument document,
    bool cancel
)
Public Sub New(
    document As BaseDocument,
    cancel As Boolean
)

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