VariantsInfo(String, String, IList<VariantInfo>) Constructor
In This Article
Initializes a new instance of the VariantsInfo class.
Namespace: DevExpress.ExpressApp.ViewVariantsModule
Assembly: DevExpress.ExpressApp.ViewVariantsModule.v24.2.dll
NuGet Package: DevExpress.ExpressApp.ViewVariantsModule
#Declaration
public VariantsInfo(
string rootViewId,
string currentVariantId,
IList<VariantInfo> items
)
#Parameters
Name | Type | Description |
---|---|---|
root |
String | A string representing the identifier of the View with variants available. |
current |
String | A string representing the currently selected variant identifier. |
items | IList<Variant |
An indexed collection of Variant |
#Remarks
The items parameter should contain at least two variants. Otherwise, the System.ArgumentException will be thrown.
See Also