ASP.NET MVC Controls | ComponentOne
Working with Controls / DashboardLayout / Work with DashboardLayout / Header
In This Topic
    Header
    In This Topic

    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 DashboardLayout header with 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"))