Skip to main content

SchedulerResourceBuilder.AllowMultiple(Boolean) Method

Specifies whether you can assign several resources of this kind to an appointment. Mirrors the client-side allowMultiple option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public SchedulerResourceBuilder AllowMultiple(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
SchedulerResourceBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Scheduler()
    .Resources(resources => {
        resources.Add().AllowMultiple(true);
    })
)
See Also