Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IFrameVariantsEngine Interface

Implemented by classes that provide methods to manage View Variants.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

public interface IFrameVariantsEngine

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.

See Also