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

CurrentFrameViewVariantsManager.ChangeToVariant(VariantInfo) Method

Switches the current View to the specified view variant.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

Assembly: DevExpress.ExpressApp.ViewVariantsModule.v24.2.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