A newer version of this page is available. Switch to the current version.

MVCxFormLayoutItem.NestedExtensionType Property

Gets or sets the type of extension nested in a layout item.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v18.2.dll


public FormLayoutNestedExtensionItemType NestedExtensionType { get; set; }
Public Property NestedExtensionType As FormLayoutNestedExtensionItemType

Property Value

Type Description

One of the FormLayoutNestedExtensionItemType enumeration values.


The code sample below demonstrates how to nest a TextBox data editor into a layout item using the NestedExtensionType property.

View code (Razor):

@Html.DevExpress().FormLayout(settings =>
    settings.Name = "FormLayout1";

    settings.Items.Add(itemSettings => 
        itemSettings.FieldName = "FirstName";
        // Nesting a TextBox data editor into this layout item
        itemSettings.NestedExtensionType = FormLayoutNestedExtensionItemType.TextBox;
See Also