dashboard-devexpress-dot-dashboardwpf-dot-dashboardcontrolbase-11741eb8.md
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
public Style DashboardItemStyle { get; set; }
Public Property DashboardItemStyle As Style
| Type | Description |
|---|---|
| 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
</dxdash:DashboardControl.ItemGroupStyle>
<dxdash:DashboardControl.DashboardItemStyle>
<Style TargetType="{x:Type dxdash:DashboardLayoutItem}">
ResourceDictionary resources = (ResourceDictionary)Application.LoadComponent(new Uri("/Wpf-Dashboard-Custom-Properties;component/Modules/ItemDescriptionModule/ItemResources.xaml", UriKind.Relative));
AssociatedObject.DashboardItemStyle = resources["itemStyle"] as Style;
}
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