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

Declaration

[Browsable(false)]
public ICurrentFrameViewVariantsManager CurrentFrameViewVariantsManager { get; set; }
<Browsable(False)>
Public Property CurrentFrameViewVariantsManager As ICurrentFrameViewVariantsManager

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 by 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 either when a new value is assigned or when the ChangeVariantController Controller is deactivated, depending on the ChangeVariantController.IsCurrentFrameViewVariantsManagerOwner value.

See Also