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

DocumentManager.DocumentActivationScope Property

Gets or sets which Documents a Document Selector will display.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(DocumentActivationScope.Default)]
[DXCategory("Behavior")]
public DocumentActivationScope DocumentActivationScope { get; set; }

#Property Value

Type Default Description
DevExpress.XtraBars.Docking2010.Views.DocumentActivationScope Default

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’.

DocumentManager - Scope 1

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

DocumentManager - Scope 2

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