Back to Devexpress

GanttEditingBuilder.Enabled(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-gantteditingbuilder-dot-enabled-x28-system-dot-boolean-x29.md

latest1.4 KB
Original Source

GanttEditingBuilder.Enabled(Boolean) Method

Specifies whether a user can edit tasks, resources and dependencies. Mirrors the client-side enabled option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public GanttEditingBuilder Enabled(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

The option value.

|

Returns

TypeDescription
GanttEditingBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Gantt()
    .Editing(editing => editing
        .Enabled(true)
    )
)

See Also

GanttEditingBuilder Class

GanttEditingBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace