Back to Devexpress

DiagramBuilder.HasChanges(Boolean) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-diagrambuilder-dot-haschanges-x28-system-dot-boolean-x29.md

latest1.3 KB
Original Source

DiagramBuilder.HasChanges(Boolean) Method

Indicates whether diagram content has unsaved changes. Mirrors the client-side hasChanges option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public DiagramBuilder HasChanges(
    bool value
)

Parameters

NameTypeDescription
valueBoolean

The option value.

|

Returns

TypeDescription
DiagramBuilder

A reference to this instance after the method is called.

|

Remarks

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

cshtml
@(Html.DevExtreme().Diagram()
    .HasChanges(true)
)

See Also

DiagramBuilder Class

DiagramBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace