Skip to main content
A newer version of this page is available. .

DiagramPageSettings.Color Property

Specifies the color of a diagram page.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v19.2.dll

Declaration

public Color Color { get; set; }

Property Value

Type Description
Color

A structure that specifies the page color.

Property Paths

You can access this nested property as listed below:

Object Type Path to Color
ASPxDiagram
.SettingsPage.Color
DiagramSettings
.SettingsPage.Color
MVCxDiagram
.SettingsPage.Color

Remarks

<dx:ASPxDiagram ID="Diagram" runat="server" Units="Cm" >
    <SettingsPage Width="21" Height="29.7" Color="#ccffcc" Orientation="Landscape" />
</dx:ASPxDiagram>

Note

If you call the server Import(String) or client Import(data) method, the method applies the imported page settings and the Color property is ignored.

See Also