WidgetFactory<TModel>.Accordion() Method

Creates an Accordion control.

Namespace: DevExtreme.AspNet.Mvc.Factories

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public AccordionBuilder Accordion()

Returns

Type Description
AccordionBuilder

An instance of AccordionBuilder.

Remarks

This method creates a AccordionBuilder class instance whose members can be used to specify Accordion options.

@(Html.DevExtreme().Accordion() // create an Accordion
    // call methods to specify control options
)
See Also