ViewVariantsModule.FrameVariantsEngine Property
Specifies the IFrameVariantsEngine object that provides methods to manage view variants.
Namespace: DevExpress.ExpressApp.ViewVariantsModule
Assembly: DevExpress.ExpressApp.ViewVariantsModule.v24.1.dll
NuGet Package: DevExpress.ExpressApp.ViewVariantsModule
Declaration
Property Value
Type | Description |
---|---|
IFrameVariantsEngine | An IFrameVariantsEngine object that provides methods to manage view variants. |
Remarks
By default, the FrameVariantsEngine object is assigned to the FrameVariantsEngine property when the XafApplication.SetupComplete event occurs if this property is not yet initialized. The ChangeVariantController class uses an object assigned to this property to switch view variants and to obtain a list of available view variants. Add a class that implements the IFrameVariantsEngine interface and assign an instance of this class to the FrameVariantsEngine property to replace the default behavior.