Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

#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