Back to Devexpress

ModelVariantsProvider Class

expressappframework-devexpress-dot-expressapp-dot-viewvariantsmodule-2eb14979.md

latest2.0 KB
Original Source

ModelVariantsProvider Class

Provide a list of view variants available for the specific View in the IModelVariants Application Model node, and stores the variant selected by the user to the IModelVariants.Current property.

Namespace : DevExpress.ExpressApp.ViewVariantsModule

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

NuGet Package : DevExpress.ExpressApp.ViewVariantsModule

Declaration

csharp
public class ModelVariantsProvider :
    IVariantsProvider
vb
Public Class ModelVariantsProvider
    Implements IVariantsProvider

Remarks

The ModelVariantsProvider implements the IVariantsProvider interface and stores view variants in the Application Model. You can create a custom ModelVariantsProvider implementation and pass it to the ViewVariantsModule.VariantsProvider property.

Implements

IVariantsProvider

Inheritance

Object ModelVariantsProvider

See Also

ModelVariantsProvider Members

DevExpress.ExpressApp.ViewVariantsModule Namespace