Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ControlReleasingEventArgs(BaseDocument, Boolean, Boolean) Constructor

In This Article

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

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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