SchedulerBuilder.Views(IEnumerable<SchedulerViewType>) Method
Specifies and configures the views to be available in the view switcher. Mirrors the client-side views option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public SchedulerBuilder Views(
IEnumerable<SchedulerViewType> value
)
Parameters
Name | Type | Description |
---|---|---|
value | IEnumerable<SchedulerViewType> | The option value. |
Returns
Type | Description |
---|---|
SchedulerBuilder | A reference to this instance after the method is called. |
Remarks
Use the following notation to set the option’s value:
@(Html.DevExtreme().Scheduler()
.Views(new[] { SchedulerViewType.Agenda })
)
See Also