DevExpress-Examples/wpf-dasard-custom-properties

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

View Module

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

View Module

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.

View Module

This module pinned columns in a Grid dasard item.

View Module

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.

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

Contributors 5