To change title settings, invoke the dashboard menu and open the Title page.
Here you can specify the following options.
Specifies the dashboard title text.
Specifies whether the dashboard title is visible.
Specifies the alignment of the dashboard title.
Include Master Filter
Specifies whether to show the state of master filter items in the dashboard title.
When an end-user hovers over the filter icon (), all master filters applied to the dashboard are displayed in the invoked popup.
Allows you to specify the image displayed within the dashboard title.
The dashboard title can contain command buttons.
Allows end-users to export the dashboard. To learn more about exporting, see Exporting.
Allows end-users to modify dashboard parameter values. To learn more about parameters, see Parameters.
The Web Dashboard allows customizing the dashboard item caption and dashboard title. For instance, you can add custom command buttons, create additional menus, add static texts, etc. Use the DashboardTitleToolbarOptions class to get access to a specific toolbar item's collection in the dashboard title (like command buttons or static text). The ViewerToolbarItem object represents a toolbar item.
Use the following members to customize the dashboard title:
Specifies a handler for the event occurring before the dashboard title toolbar is updated.
See Extensions for information on how to use DashboardControl extensions.
You can use predefined colors for toolbar icons to make the icons consistent with the entire dashboard application. For example, you can use the predefined color for a new toolbar button. In this case, the button's color depends on the selected Web Dashboard theme.
The table below lists the available predefined color classes:
The theme's primary color.
The theme's additional color.
The theme's accent color.
A green hue based on the theme.
A red hue based on the theme.
A yellow hue based on the theme.
Use the class="colorName" attribute in the icon's svg definition to specify the icon's color. If you want to change an icon's color when it is hovered, add the style="fill: currentColor" attribute to the svg definition.
The code snippet below defines an icon that changes its color depending on the theme's primary color and when you hover over it:
Before you begin, have a look at the Extensions section for information on how to use DashboardControl extensions.
The following example shows how to add a toolbar item to the dashboard title. The code snippet below creates a custom button with a popup menu. The DashboardTitleToolbarUpdated event is used to customize the dashboard title. The button belongs to the actionItems collection and is displayed on the right (like the Export To and Parameters buttons).