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

ModelVariantsProvider.GetVariants(String) Method

Returns a set of view variants available for the specific root View in the IModelVariants Application Model node. In case there are no view variants, returns null (Nothing in VB).

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

#Declaration

public VariantsInfo GetVariants(
    string rootVariantViewId
)

#Parameters

Name Type Description
rootVariantViewId String

A string representing the identifier of the varied View having the VariantsInfo.Items as View variants.

#Returns

Type Description
VariantsInfo

A VariantsInfo object that contains a set of view variants.

See Also