Skip to main content
A newer version of this page is available. .

Page.Document Property

Gets or sets a document contained within the current Page.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Document")]
public Document Document { get; set; }

Property Value

Type Description
Document

A Document contained within the current Page.

Remarks

The Page is a type of container capable of displaying a single Document assigned to its Document property. The figure below illustrates a Page with a Document within:

DocumentManager - Page

The most common scenario is a Page linked to a tile via the Tile.ActivationTarget property. In this case, you can handle the WindowsUIView.TileClick event to pass the Tile.Document property’s value to the page’s Document property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Document property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also