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

DiagramTheme(String, String, DiagramColorPalette, DiagramEffectCollection, DiagramFontSettings, DiagramFontSettings) Constructor

Initializes a new instance of the DiagramTheme class.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v18.2.Core.dll

Declaration

public DiagramTheme(
    string themeId,
    string themeName,
    DiagramColorPalette colorPalette,
    DiagramEffectCollection effectCollection,
    DiagramFontSettings fontSettings,
    DiagramFontSettings containerFontSettings = null
)

Parameters

Name Type Description
themeId String

A String value identifying the theme.

themeName String

A String value representing the name of the theme.

colorPalette DiagramColorPalette

A DiagramColorPalette object representing the color scheme.

effectCollection DiagramEffectCollection

A DiagramEffectCollection object that stores theme, variant and connector effects.

fontSettings DevExpress.Diagram.Core.DiagramFontSettings

A DevExpress.Diagram.Core.DiagramFontSettings object representing the font settings for shapes and connectors.

Optional Parameters

Name Type Default Description
containerFontSettings DevExpress.Diagram.Core.DiagramFontSettings *null*

A DevExpress.Diagram.Core.DiagramFontSettings object representing the font settings for containers.

See Also