IVariantsProvider.GetVariants(String) Method

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

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

VariantsInfo GetVariants(
    string rootVariantViewId
)
Function GetVariants(
    rootVariantViewId As String
) As VariantsInfo

Parameters

Type Name Description
String rootVariantViewId

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