DxFormLayoutItem.Enabled Property

Specifies whether the Form Layout item’s auto-generated editor is enabled.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll


public bool Enabled { get; set; }

Property Value

Type Description

true if the editor is enabled; otherwise, false.


Use the Enabled property to enable or disable a Form Layout item’s editor. This property only affects auto-generated editors.

<DxFormLayout Data="@editFormData">
            <DxFormLayoutItem Field="@nameof(FormDataItem.Name)" Caption="Contact Name:" />
            <DxFormLayoutItem Field="@nameof(FormDataItem.BirthDate)" Caption="Birth Date:" Enabled="false"/>
            <DxFormLayoutItem Field="@nameof(FormDataItem.YearsWorked)" Caption="Years Worked:" />

Form Layout Item Enabled

The Form Layout and its elements (tabs, tab pages, and groups) apply this property’s value to nested elements. You can specify the corresponding property for a nested element to override this setting.

Component Property
Form Layout Enabled
Tab Pages Enabled
Tab Page Enabled
Group Enabled
Item Enabled
Editor <Editor_name>.Enabled
See Also