The following example shows how to create custom properties for the WinForms Dashboard.
The example contains the following custom properties organized into separate modules:
DashboardDescriptionModule.cs (VB: DashboardDescriptionModule.vb)
This module enables you to set a dashboard description. The Dashboard Description button is in the Dashboard Ribbon's group on the Home page. The dashboard description is displayed when you hover over the info button in the dashboard title.
Overview:
- Adds a custom string property for a dashboard.
- Provides editors to edit a dashboard description.
- Shows how to add a new item to an existing Ribbon group.
GridFixedColumnModule.cs (VB: GridFixedColumnModule.vb)
This module enables you to pin columns in the Grid item. The Fix Columns button is in the Custom Properties Ribbon's group on the Grid's Design page. The button invokes an editor where you can set which columns to pin.
Overview:
- Adds a custom Boolean property for a specific data item container (Grid columns).
- Provides an editor that displays a list of grid columns to be pinned.
- Shows how to create a new group in the Ribbon and add a new item.
ChartScaleBreakModule.cs (VB: ChartScaleBreakModule.vb)
This module enables or disables scale breaks for the Chart dashboard item. The Scale Break button is in the Custom Properties Ribbon's group on the Chart's Design page.
Overview:
- Adds a boolean custom property for a specific dashboard item (Chart).
- Shows how to create a new group in the Ribbon and add a new item.
- Customizes export to display the result in the exported document.
ConstantLineUserValueModule.cs (VB: ConstantLineUserValueModule.vb)
This module allows you to draw a constant line for the selected Chart item. The Constant Line button is in the Custom Properties ribbon group on the Chart's Design page. The button invokes an editor that allows you to set constant line's options.
Overview:
- Adds a complex custom property for a specific dashboard item (Chart).
- Shows how to create a new group in the Ribbon and add a new item.
- Customizes export to display the result in the exported document.
- 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
- WPF Dashboard Viewer - Custom Properties
- Multiplatform Example - Constant Lines
(you will be redirected to DevExpress.com to submit your response)