The requested page is not available for the requested platform. You are viewing the content for Default platform.

ChangeVariantController.AllowChangeVariantWhenObjectSpaceIsModified Property

Indicates whether the ChangeVariantController.ChangeVariantAction is enabled when the Object Space is modified.

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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


public bool? AllowChangeVariantWhenObjectSpaceIsModified { get; set; }
Public Property AllowChangeVariantWhenObjectSpaceIsModified As Boolean?

Property Value

Type Description

true, if the ChangeVariantAction is enabled when the Object Space is modified; otherwize - false.


The AllowChangeVariantWhenObjectSpaceIsModified property is initialized in the OnFrameAssigned method in case the value is not yet assigned. The property value is set to false in ASP.NET applications to avoid losing the postback data. So, the ChangeVariantAction is disabled when there are changes in the Object Space in the ASP.NET application, by default. This Action's state is influenced by its ActionBase.Enabled property's "NotModified" key value. In WinForms applications, the property is set to true.

To change the default value, implement a custom Controller and access this property in the overridden OnFrameAssigned method.

See Also