.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

ModelVariantsProvider Constructors

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.
Name Parameters Description
ModelVariantsProvider(IModelApplication) model Initializes a new instance of the ModelVariantsProvider class.
ModelVariantsProvider(IModelList<IModelView>) views Initializes a new instance of the ModelVariantsProvider class.
See Also