Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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