Skip to main content
.NET 6.0+

CurrentFrameViewVariantsManager.ChangeToVariant(VariantInfo) Method

Switches the current View to the specified view variant.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

Declaration

public void ChangeToVariant(
    VariantInfo variantInfo
)

Parameters

Name Type Description
variantInfo VariantInfo

A VariantInfo object that specifies the view variant to which the current View will be switched.

Remarks

Use this method only for scenarios where a user executes the method via a UI element (Action). Any other use of this method is not considered.

See Also