The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

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.v19.2.dll

Declaration

public void SaveCurrentVariantId(
    string rootViewId,
    string currentVariantId
)
Public Sub SaveCurrentVariantId(
    rootViewId As String,
    currentVariantId As String
)
public void SaveCurrentVariantId(
    string rootViewId,
    string currentVariantId
)
Public Sub SaveCurrentVariantId(
    rootViewId As String,
    currentVariantId As String
)
public void SaveCurrentVariantId(
    string rootViewId,
    string currentVariantId
)
Public Sub SaveCurrentVariantId(
    rootViewId As String,
    currentVariantId As String
)

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.

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.

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