Skip to main content
.NET 8.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.
Views Gets the list of View nodes used by the ModelVariantsProvider.
See Also