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 Properties

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 Description
AllowSingleVariant static

Specifies whether of not a single view variant is allowed.

GenerateDefaultVariant static

Obsolete. This property is obsolete. Instead, use the approach demonstrated in the How to: Create Additional ListView Nodes in Code using a Generator Updater topic to create a default View Variant.


Gets the list of View nodes used by the ModelVariantsProvider.

See Also