Skip to main content

IWindowsUIViewController.RemoveTile(Document) Method

Removes a Tile related to the specific Document from the current WindowsUIView.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

bool RemoveTile(
    Document document
)

Parameters

Name Type Description
document Document

A Document whose Tile is to be removed.

Returns

Type Description
Boolean

true if a Tile related to the specific Document was successfully removed from the current WindowsUIView; otherwise, false.

Remarks

Tiles refer to Documents via the Tile.Document property. The RemoveTile method removes a Tile related to the specific Document, passed to the method as the document parameter.

Successfully removing a Tile from the WindowsUIView.Tiles collection fires the WindowsUIView.TileRemoved event.

Use the IWindowsUIViewController.AddTile method to generate a Tile related to the specific Document.

See Also