BaseView.ActiveDocument Property

Gets the active document.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Browsable(false)]
public BaseDocument ActiveDocument { get; }
<Browsable(False)>
Public ReadOnly Property ActiveDocument As BaseDocument

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