Back to Devexpress

Page.Document Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-windowsui-dot-page.md

latest2.9 KB
Original Source

Page.Document Property

Gets or sets a document contained within the current Page.

Namespace : DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Document")]
public Document Document { get; set; }
vb
<DXCategory("Document")>
<DefaultValue(Nothing)>
Public Property Document As Document

Property Value

TypeDefaultDescription
Documentnull

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:

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.

See Also

ActivationTarget

Document

TileClick

Page Class

Page Members

DevExpress.XtraBars.Docking2010.Views.WindowsUI Namespace