DashboardLayout allows you to display a caption for each tile with the help of HeaderText method of the TileBuilder class. This method sets caption for the tile. The header consists of caption, a maximize/restore icon and tool-icon.
The following code snippet shows how to set header text.
Razor |
Copy Code
|
---|---|
.Children(hgcb => hgcb.AddTile().HeaderText("Products Stock"))
|