A newer version of this page is available. Switch to the current version.

IFrameVariantsEngine Interface

Implemented by classes that provide methods to manage View Variants.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

Assembly: DevExpress.ExpressApp.ViewVariantsModule.v18.2.dll


public interface IFrameVariantsEngine
Public Interface IFrameVariantsEngine

Related API Members

The following members accept/return IFrameVariantsEngine objects:


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.

See Also