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.v25.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| document | Document |
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.