VariantsInfo(String, String, IList<VariantInfo>) Constructor
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
Parameters
Name | Type | Description |
---|---|---|
rootViewId | String | A string representing the identifier of the View with variants available. |
currentVariantId | String | A string representing the currently selected variant identifier. |
items | IList<VariantInfo> | An indexed collection of VariantInfo objects representing the available variants set. |
Remarks
The items parameter should contain at least two variants. Otherwise, the System.ArgumentException will be thrown.
See Also