Skip to main content
.NET Framework 4.5.2+

VariantsInfo Class

Represents a set of variants available for the View.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

Assembly: DevExpress.ExpressApp.ViewVariantsModule.v24.1.dll

Declaration

public class VariantsInfo

Remarks

The View Variants Module provides the ability to have several customized variants of the same View. The VariantsInfo class is used to represent a set of variants available for a particular View.

The View variants read-only collection is exposed via the VariantsInfo.Items property. The items of this collection are represented by the VariantInfo structure. The View variants are assigned to a certain varied View. This View identifier is exposed via the VariantsInfo.RootViewId property. The currently selected View variant is exposed via the VariantsInfo.CurrentVariantId property.

Use the VariantsInfo.GetCurrentVariantInfo method to access the currently selected variant. You can search the particular variant by its identifier via the VariantsInfo.FindById method.

Inheritance

Object
VariantsInfo
See Also