ControlReleasingEventArgs(BaseDocument, Boolean, Boolean) Constructor

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

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v20.2.dll


public ControlReleasingEventArgs(
    BaseDocument document,
    bool keepControl,
    bool disposeControl
Public Sub New(
    document As BaseDocument,
    keepControl As Boolean,
    disposeControl As Boolean


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