Skip to content

DevExpress-Examples/xaf-how-to-save-the-currently-opened-view-as-a-new-view-variant-at-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XAF - How to save the currently open View as a new View Variant at runtime

This example shows how to create a controller that allows you to save the state of the current view as a view variant and apply saved variants to a view.

image

Warning

We created this example for demonstration purposes and it is not intended to address all possible usage scenarios with it. If this example does not have certain functionality or you want to change its behavior, you can extend this example as needed. Please note that this can be a complex task that requires good knowledge of XAF: UI Customization Categories by Skill Level. You will likely need to research how our components work under the hood. Refer to the following help topic for more information: Debug DevExpress .NET Source Code with PDB Symbols. We are unable to help with such tasks as custom programming is outside our Support Service scope: Technical Support Scope.

Implementation Details

To accomplish this task, we created a dedicated controller that stores the state of a current view as a new view variant in an application model. The same controller allows users to apply existing view variants to a view.

Files to Review

Documentation

About

How to create a controller that allows saving the current view's state as a view variant and applying saved variants to a view.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published