Skip to main content

ChangeVariantController.AllowChangeVariantWhenObjectSpaceIsModified Property

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

Namespace: DevExpress.ExpressApp.ViewVariantsModule

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

NuGet Package: DevExpress.ExpressApp.ViewVariantsModule

Declaration

public bool? AllowChangeVariantWhenObjectSpaceIsModified { get; set; }

Property Value

Type Description
Nullable<Boolean>

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

Remarks

The AllowChangeVariantWhenObjectSpaceIsModified property is initialized in the OnFrameAssigned method in case the value is not yet assigned. This Action’s state is influenced by its ActionBase.Enabled property’s NotModified key value. This property is set to true by default.

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

See Also