The example shows how to add custom properties to the WPF Dashboard Control.
Custom properties are stored in a CustomProperties collection in a structured format. Each custom property in this collection contains the custom property's metadata.
To customize the underlying control, you can change the dashboard item's style and template according to the custom property value.
The example contains the following custom properties organized into modules:
This module enables you to display a dashboard description. The dashboard description is displayed when you click the info button in the dashboard title.
This module enables you to display a description for a dashboard item. The description is displayed when you click the info button in the dashboard item caption.
This module pinned columns in a Grid dashboard item.
This module contains three custom properties for a Chart dashboard item:
-
Chart Scale Break
The ScaleBreak class displays scale breaks for the Chart dashboard item if the Chart's custom property is true.
-
Chart Line Style
The LineStyle class changes the line style according to the custom property value. In this example, it is a dot.
-
Chart Constant Line
The ConstantLine class allows you to display a constant line for the selected Chart item. The property contains information about a pane, axis type (primary or secondary), and a value.
- ASP.NET MVC Dashboard Control - Custom Properties
- ASP.NET Web Forms Dashboard Control - Custom Properties
- ASP.NET Core Dashboard Control - Custom Properties
- Dashboard Component for Angular - Custom Properties
- WinForms Dashboard Designer - Custom Properties
- Multiplatform Example - Constant Lines
(you will be redirected to DevExpress.com to submit your response)