FrameVariantsEngine(IVariantsProvider, IViewsFactory) Constructor

Initializes a new instance of the FrameVariantsEngine class.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

public FrameVariantsEngine(
    IVariantsProvider variantsProvider,
    IViewsFactory viewsFactory
)
Public Sub New(
    variantsProvider As IVariantsProvider,
    viewsFactory As IViewsFactory
)

Parameters

Type Name Description
IVariantsProvider variantsProvider

A IVariantsProvider object that provides a list of view variants available for the specific View, and stores the variant selected by a user.

DevExpress.ExpressApp.ViewVariantsModule.IViewsFactory viewsFactory

An IViewsFactory object used to create Views.

See Also