Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ModelVariantsProvider.SaveCurrentVariantId(String, String) Method

Saves the identifier of the currently selected View variant to the IModelVariants.Current property in the Application Model.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

public void SaveCurrentVariantId(
    string rootViewId,
    string currentVariantId
)

Parameters

Name Type Description
rootViewId String

A string representing the identifier of the root varied View.

currentVariantId String

A string representing the identifier of the currently selected View variant.

See Also