IModelVariants Interface

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

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

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

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 and is not intended to be implemented by your classes. To learn more, refer to the Application Model Structure topic.

See Also