The requested page is not available for the requested platform. You are viewing the content for Default platform.

IFrameVariantsEngine Interface

Implemented by classes that provide methods to manage View Variants.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

public interface IFrameVariantsEngine
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