The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardControlBase.CustomItemStyle Property

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

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Xpf.Dashboard.v19.2.dll


public Style CustomItemStyle { get; set; }
Public Property CustomItemStyle As Style

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