Back to Devexpress

DiagramBuilder.PageColor(String) Method

aspnetcore-devextreme-dot-aspnet-dot-mvc-dot-builders-dot-diagrambuilder-dot-pagecolor-x28-system-dot-string-x29.md

latest1.3 KB
Original Source

DiagramBuilder.PageColor(String) Method

Specifies the color of a diagram page. Mirrors the client-side pageColor option.

Namespace : DevExtreme.AspNet.Mvc.Builders

Assembly : DevExtreme.AspNet.Core.dll

Declaration

csharp
public DiagramBuilder PageColor(
    string value
)

Parameters

NameTypeDescription
valueString

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()
    .PageColor("#fff")
)

See Also

DiagramBuilder Class

DiagramBuilder Members

DevExtreme.AspNet.Mvc.Builders Namespace