Skip to main content

FormItemEditorFactory.RadioGroup() Method

Creates a RadioGroup control that is used as a form item’s editor.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public RadioGroupBuilder RadioGroup()

Returns

Type Description
RadioGroupBuilder

An instance of RadioGroupBuilder.

Remarks

@(Html.DevExtreme().Form()
    .Items(items => {
        items.AddSimple()
            .Editor(e => e.RadioGroup()
                // call methods in a chain to customize the control
            );
    })
)
See Also