Skip to main content

IWindowsUIViewController.AddTile(Document) Method

Adds a tile for the specific Document to the current WindowsUIView.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

bool AddTile(
    Document document
)

Parameters

Name Type Description
document Document

A Document related to the newly added Tile.

Returns

Type Description
Boolean

true if a tile for the specific Document was successfully added to the current WindowsUIView; otherwise, false.

Remarks

The AddTile method adds a new Tile to the WindowsUIView.Tiles collection. The method’s document parameter specifies the Tile.Document property value for the newly created Tile.

Successfully adding a tile fires the WindowsUIView.TileAdded event.

You can remove a corresponding Tile for the specific Document via the IWindowsUIViewController.RemoveTile method.

See Also