The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

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