DashboardControl.TitleContent Property

Gets or sets the title text. This is a dependency property.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v18.2.Wpf.dll

Declaration

public object TitleContent { get; set; }
Public Property TitleContent As Object

Property Value

Type Description
Object

An object displayed in the dashboard title. Specify a String to display text.

Note

The complete sample project How to add custom buttons and menu elements to dashboard item captions is available in the DevExpress Examples repository.

<dxdash:DashboardControl
    x:Name="dashboardControl1"
    TitleAlignment="Center"
    TitleContent="Title Content"
    TitleVisibility="Visible">
    <dxdash:DashboardControl.TitleContentTemplate>
        <DataTemplate>
            <ToggleButton Content="{Binding}" />
        </DataTemplate>
    </dxdash:DashboardControl.TitleContentTemplate>
    <!-- -->
</dxdash:DashboardControl>
See Also