Back to Devexpress

DashboardControlBase.DashboardItemStyle Property

dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrolbase-11741eb8.md

latest3.6 KB
Original Source

DashboardControlBase.DashboardItemStyle Property

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

Namespace : DevExpress.DashboardWpf

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

NuGet Package : DevExpress.Wpf.Dashboard

Declaration

csharp
public Style DashboardItemStyle { get; set; }
vb
Public Property DashboardItemStyle As Style

Property Value

TypeDescription
Style

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

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardItemStyle property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-dashboard-how-to-add-custom-caption-menu/CS/WpfDashboardCustomCaptionMenu/MainWindow.xaml#L69

xml
</dxdash:DashboardControl.ItemGroupStyle>
<dxdash:DashboardControl.DashboardItemStyle>
    <Style TargetType="{x:Type dxdash:DashboardLayoutItem}">

wpf-dashboard-custom-properties/CS/Wpf-Dashboard-Custom-Properties/Modules/ItemDescriptionModule/ItemDescriptionModule.cs#L16

csharp
ResourceDictionary resources = (ResourceDictionary)Application.LoadComponent(new Uri("/Wpf-Dashboard-Custom-Properties;component/Modules/ItemDescriptionModule/ItemResources.xaml", UriKind.Relative));
    AssociatedObject.DashboardItemStyle = resources["itemStyle"] as Style;
}

wpf-dashboard-custom-properties/VB/Wpf-Dashboard-Custom-Properties/Modules/ItemDescriptionModule/ItemDescriptionModule.vb#L18

vb
Dim resources As ResourceDictionary = CType(Application.LoadComponent(New Uri("/Wpf-Dashboard-Custom-Properties;component/Modules/ItemDescriptionModule/ItemResources.xaml", UriKind.Relative)), ResourceDictionary)
    AssociatedObject.DashboardItemStyle = TryCast(resources("itemStyle"), Style)
End Sub

See Also

DashboardControlBase Class

DashboardControlBase Members

DevExpress.DashboardWpf Namespace