Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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