Skip to main content

AccordionBuilder.Collapsible(Boolean) Method

Specifies whether all items can be collapsed or whether at least one item must always be expanded. Mirrors the client-side collapsible option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public AccordionBuilder Collapsible(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
AccordionBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Accordion()
    .Collapsible(true)
)
See Also