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
Related API Members
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.