Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IFrameVariantsEngine Interface

Implemented by classes that provide methods to manage View Variants.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

#Declaration

public interface IFrameVariantsEngine

The following members return IFrameVariantsEngine objects:

#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