Skip to content

DevExpress-Examples/xaf-how-to-show-a-custom-form-as-the-winforms-dashboard-designer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAF - How to show a custom form as a WinForms Dashboard Designer

This example describes how to display a custom form as a WinForms Dashboard Designer that is used to create and modify dashboards in WinForms XAF applications. This can be required for menu customization. For example, you may need to add custom BarItems or remove default BarItems.

image

Implementation Details

  1. Add a new XtraForm or RibbonForm to the project.
  2. Add DashboardDesigner to the newly created form as it is described in the following topic: Create a WinForms Dashboard Designer (.NET Framework).
  3. Add a property of the DashboardDesigner type to the custom form.
  4. In the Windows Forms module, add a Controller that is activated in the IDashboardData Views only.
  5. Access the WinShowDashboardDesignerController using the Frame.GetController method.
  6. Access the DashboardDesignerManager object using the WinShowDashboardDesignerController.DashboardDesignerManager property.
  7. Handle the DashboardDesignerManager.CreateCustomForm event. Create and assign a custom XtraForm to the CreateCustomFormEventArgs.Form property. For more imformation, refer to the following topic: Access the WinForms Dashboard Designer.

Files to Review

Documentation

About

How to show a custom form as the WinForms Dashboard Designer used to create and modify dashboards in the WinForms XAF applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •