Skip to main content

MVCxFormLayoutItem.NestedExtensionType Property

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public FormLayoutNestedExtensionItemType NestedExtensionType { get; set; }

Property Value

Type Description
FormLayoutNestedExtensionItemType

One of the FormLayoutNestedExtensionItemType enumeration values.

Available values:

Show 27 items
Name Description
Default

Identifies a layout item with the default nested extension.

BinaryImage

Identifies a layout item with the nested BinaryImage extension.

Button

Identifies a layout item with the nested Button extension.

ButtonEdit

Identifies a layout item with the nested ButtonEdit extension.

Calendar

Identifies a layout item with the nested Calendar extension.

Captcha

Identifies a layout item with the nested Captcha extension.

CheckBox

Identifies a layout item with the nested CheckBox extension.

CheckBoxList

Identifies a layout item with the nested CheckBoxList extension.

ColorEdit

Identifies a layout item with the nested ColorEdit extension.

ComboBox

Identifies a layout item with the nested ComboBox extension.

DateEdit

Identifies a layout item with the nested DateEdit extension.

DropDownEdit

Identifies a layout item with the nested DropDownEdit extension.

Identifies a layout item with the nested HyperLink extension.

Image

Identifies a layout item with the nested Image extension.

Label

Identifies a layout item with the nested Label extension.

ListBox

Identifies a layout item with the nested ListBox extension.

Memo

Identifies a layout item with the nested Memo extension.

ProgressBar

Identifies a layout item with the nested ProgressBar extension.

RadioButton

Identifies a layout item with the nested RadioButton extension.

RadioButtonList

Identifies a layout item with the nested RadioButtonList extension.

SpinEdit

Identifies a layout item with the nested SpinEdit extension.

TextBox

Identifies a layout item with the nested TextBox extension.

TimeEdit

Identifies a layout item with the nested TimeEdit extension.

TokenBox

Identifies a layout item with the nested TokenBox extension.

TrackBar

Identifies a layout item with the nested TrackBar extension.

UploadControl

Identifies a layout item with the nested UploadControl extension.

ValidationSummary

Identifies a layout item with the nested ValidationSummary extension.

Remarks

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

@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;
    });    
    //...
}).Bind(Model).GetHtml()
See Also