Back to Devexpress

DocumentManager.DocumentActivationScope Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-documentmanager-cd95cb7c.md

latest2.9 KB
Original Source

DocumentManager.DocumentActivationScope Property

Gets or sets which Documents a Document Selector will display.

Namespace : DevExpress.XtraBars.Docking2010

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DocumentActivationScope.Default)]
[DXCategory("Behavior")]
public DocumentActivationScope DocumentActivationScope { get; set; }
vb
<DefaultValue(DocumentActivationScope.Default)>
<DXCategory("Behavior")>
Public Property DocumentActivationScope As DocumentActivationScope

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Docking2010.Views.DocumentActivationScopeDefault

A DocumentActivationScope enumerator value that specifies which Documents a Document Selector will display.

|

Remarks

Depending on the DocumentActivationScope property value, a Document Selector, when invoked. will display either all Documents within the View, or only Documents within the currently selected floating container (see the BaseView.FloatingDocumentContainer property). In the figure below, the main application form is selected, so the Document Selector displays only ‘Document 1’ and ‘Document 2’.

The second image illustrates the Document Selector when the Floating Document Container is active. As you can see, only ‘Document 3’ is available.

This behavior applies to a DocumentManager, whose DocumentActivationScope property is set to DocumentsHost. If the DocumentActivationScope property equals AllDocuments (or Default ), the Document Selector will display all Documents despite the currently selected element.

See Also

FloatingDocumentContainer

DocumentManager Class

DocumentManager Members

DevExpress.XtraBars.Docking2010 Namespace