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

ViewVariantsModule.FrameVariantsEngine Property

Specifies the IFrameVariantsEngine object that provides methods to manage view variants.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

Assembly: DevExpress.ExpressApp.ViewVariantsModule.v24.2.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