Skip to content

The example shows how to add custom properties to the WPF Dashboard Control.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/wpf-dashboard-custom-properties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard for WPF - Custom Properties

The example shows how to add custom properties to the WPF Dashboard Control.

Files to Review

Overview

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:

DashboardDescriptionModule

View Module

This module enables you to display a dashboard description. The dashboard description is displayed when you click the info button in the dashboard title.

ItemDescriptionModule

View Module

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.

GridFixedColumnModule

View Module

This module pinned columns in a Grid dashboard item.

ChartItemModule

View Module

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.

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)