IFrameVariantsEngine Interface
Implemented by classes that provide methods to manage View Variants.
Namespace: DevExpress.ExpressApp.ViewVariantsModule
Assembly: DevExpress.ExpressApp.ViewVariantsModule.v24.2.dll
NuGet Package: DevExpress.ExpressApp.ViewVariantsModule
Declaration
Remarks
This interface declares methods used to get a list of available variants for a passed View object, and to change the Frame.View value of the passed Frame object in accordance with the VariantsInfo object that specifies the new View Variant.
Classes that implement this interface should properly manage Views in the application when calling XafApplication.CreateDetailView / XafApplication.CreateListView methods. The FrameVariantsEngine is the built-in implementation of the IFrameVariantsEngine interface. You can add a custom class that implements the IFrameVariantsEngine and pass an instance of this class to the ViewVariantsModule.FrameVariantsEngine property.