Skip to main content

ControlReleasingEventArgs(BaseDocument, Boolean, Boolean) Constructor

Initializes a new instance of the ControlReleasingEventArgs class with specific settings.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public ControlReleasingEventArgs(
    BaseDocument document,
    bool keepControl,
    bool disposeControl
)

Parameters

Name Type Description
document BaseDocument

A BaseDocument object related to the newly created ControlReleasingEventArgs.

keepControl Boolean

true if the document‘s content should be kept after this document is deselected; otherwise, false.

disposeControl Boolean

true if the detached document‘s content should be destroyed; otherwise, false. Takes effect only if the keepControl parameter equals false.

See Also