DashboardControlBase.CustomItemStyle Property

Gets or sets the style applied to the CustomItemDashboardLayoutItem. This is a dependency property.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Xpf.Dashboard.v21.1.dll


public Style CustomItemStyle { get; set; }

Property Value

Type Description

A Style object that is the style applied to the CustomItemDashboardLayoutItem.


WPF Dashboard does not support custom items. When the DashboardControl loads a dashboard that contains custom items, it displays the text specified by the MessageCustomItemIsNotSupported string.

The following code snippet illustrates the initial CustomItemStyle setting:

<!-- -->
    TargetType="{x:Type dxdash:CustomItemDashboardLayoutItem}"
    BasedOn="{StaticResource ResourceKey={x:Type dxdash:DashboardLayoutItem}}">
    <Setter Property="ContentTemplate">
                <TextBlock Text="The custom item is not supported by this control."
                                TextWrapping="Wrap" TextTrimming="CharacterEllipsis" FontWeight="Bold" 
                                VerticalAlignment="Center" HorizontalAlignment="Center"/>
See Also