ComponentOne DashboardLayout for WinForms
Child Container Header
Work with DashboardLayout > Child Container Header

DashboardLayout allows you to display the child container header by using SetCaption method of the C1DashboardLayout class. This method sets caption for the header so as to make the header visible. The header consists of caption text, a maximize icon and tool-icon with three dots positioned vertically, which can be used to hide or drag the child container.

The following image shows a header in the child container.

For setting header on a child container, use the following code:

c1DashboardLayout1.SetCaption(c1DashboardLayout1.Items[0].ItemContainer, "FlexGrid Container Header");

You can also add custom elements to the child container headers using Options.HeaderElements at design time.

For styling child container headers, refer Dashboard Styling topic.