Back to Devexpress

IModelView.CustomizationFormEnabled Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelview-03ad9f11.md

latest3.0 KB
Original Source

IModelView.CustomizationFormEnabled Property

Controls runtime layout customization and column chooser for a specific View.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DefaultValue(true)]
bool CustomizationFormEnabled { get; set; }
vb
<DefaultValue(True)>
Property CustomizationFormEnabled As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to allow runtime customization of View Items’ layout and enable column chooser; false to disable runtime customization and column chooser.

|

Remarks

ASP.NET Core Blazor applications support runtime layout customization in Detail Views except for the cases described in the following article: Runtime Layout Customization in ASP.NET Core Blazor Applications.

Windows Forms applications support runtime layout customization in Detail Views and Dashboard Views. For more information, refer to the following topic: Default Runtime Customization.

The column chooser allows users to hide, display, and rearrange columns in a List Editor at runtime.

Use the following nodes in Application Model to control these options in specific Views:

  • Views | <Namespace> | <Class>_DetailView to control customization and column chooser in a specific Detail View.
  • Views | Unspecified | <DashboardView> to control customization and column chooser in a specific Dashboard View.

To control these options for the entire application, use the following property: IModelOptions.CustomizationFormEnabled.

Tip

You can combine different flags of the HideInUI attribute to hide a property on select customization forms.

See Also

HideInUI

IModelView Interface

IModelView Members

DevExpress.ExpressApp.Model Namespace