Skip to main content
.NET 6.0+

VariantsInfo(String, String, IList<VariantInfo>) Constructor

Initializes a new instance of the VariantsInfo class.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

public VariantsInfo(
    string rootViewId,
    string currentVariantId,
    IList<VariantInfo> items
)

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