Skip to main content
.NET 6.0+

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

Declaration

[Browsable(false)]
public IFrameVariantsEngine FrameVariantsEngine { get; set; }

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.

See Also