The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v19.2.dll

Declaration

public class ModelVariantsProvider :
    IVariantsProvider
Public Class ModelVariantsProvider
    Implements IVariantsProvider
public class ModelVariantsProvider :
    IVariantsProvider
Public Class ModelVariantsProvider
    Implements IVariantsProvider
public class ModelVariantsProvider :
    IVariantsProvider
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.

Inheritance

Object
ModelVariantsProvider

Implements

See Also