The example shows how to add custom properties to the WPF Dasard 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 dasard 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 dasard description. The dasard description is displayed when you click the info button in the dasard title.
This module enables you to display a description for a dasard item. The description is displayed when you click the info button in the dasard item caption.
This module pinned columns in a Grid dasard item.
This module contains three custom properties for a Chart dasard item:
Chart Scale Break
The ScaleBreak class displays scale breaks for the Chart dasard 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 Dasard Control - Custom Properties
- ASP.NET Web Forms Dasard Control - Custom Properties
- ASP.NET Core Dasard Control - Custom Properties
- Dasard Component for Angular - Custom Properties
- WinForms Dasard Designer - Custom Properties
- Multiplatform Example - Constant Lines
(you will be redirected to DevExpress.com to submit your response)