Skip to main content

BaseView.ActiveDocument Property

Gets the active document.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public BaseDocument ActiveDocument { get; }

Property Value

Type Description
BaseDocument

A BaseDocument object that is the active document.

Remarks

To activate a specific document, use the BaseView.ActivateDocument or IBaseViewController.Activate method. The IBaseViewController.Activate method is accessible via a View’s Controller property (NativeMdiView.Controller or TabbedView.Controller).

When a document is activated, the BaseView.DocumentActivated event fires. To access the current active document, use the BaseView.ActiveDocument property.

See Also