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

ChangeVariantController.CurrentFrameViewVariantsManager Property

Specifies the ICurrentFrameViewVariantsManager object that provides available View Variants and changes the View of the current Frame.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

#Declaration

[Browsable(false)]
public ICurrentFrameViewVariantsManager CurrentFrameViewVariantsManager { get; set; }

#Property Value

Type Description
ICurrentFrameViewVariantsManager

An ICurrentFrameViewVariantsManager object that provides available View Variants and changes the View of the current Frame.

#Remarks

By default, this property is initialized with the CurrentFrameViewVariantsManager object.

To change the default value, implement a custom Controller and access this property in the overridden OnFrameAssigned method. The previous value of the this property can be disposed of either when a new value is assigned or when the ChangeVariantController Controller is deactivated, depending on the ChangeVariantController.IsCurrentFrameViewVariantsManagerOwner value.

See Also