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

Tile.Document Property

Gets or sets a Document related to the current Tile.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v19.2.dll

Declaration

[DefaultValue(null)]
public Document Document { get; set; }

Property Value

Type Default Description
Document *null*

A Document related to the current Tile.

Remarks

Every Tile is linked with the specific Document via the Document property. This relation creates a two-way navigation link. When a Tile is clicked, its corresponding Document is displayed, and no building application hierarchy or specifying the Tile.ActivationTarget property is required. Navigating back from the Document screen brings you back to the Tile screen.

When working in the Document Manager Designer, after creating Documents, corresponding Tiles are automatically generated. Their Document property is also set automatically.

Important

You can only have one Tile at a time that relates to each Document through the Document property. Attempts to bind multiple Tiles to one Document will cause a design-time crash. If you want to create multiple Tiles that refer to the same Document, place this Document into a Page container and set this container as an Tile.ActivationTarget for these Tiles.

See Also