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

IModelVariants Interface

The Variants node provides access to the varied Views declared for a particular view.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

Assembly: DevExpress.ExpressApp.ViewVariantsModule.v24.2.dll

#Declaration

[ImageName("ModelEditor_Views")]
public interface IModelVariants :
    IModelNode,
    IModelList<IModelVariant>,
    IList<IModelVariant>,
    ICollection<IModelVariant>,
    IEnumerable<IModelVariant>,
    IEnumerable

The following members return IModelVariants objects:

#Remarks

The IModelVariants node represents a list of IModelVariant nodes which specify items of the ChangeVariantController.ChangeVariantAction Action. These items are View variants available for a varied View. The Action is visible if there are two or more variants. You can add a new variant by selecting the Add Variant context menu. The IModelVariants.Current property represents a currently selected variant identifier.

This interface is a part of the Application Model infrastructure. You do not need to implement this interface in most cases.

See Also