Skip to main content
.NET Framework 4.6.2+

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

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