Skip to main content

DiagramTheme(String, Func<String>, DiagramColorPalette, DiagramEffectCollection, DiagramFontSettings) Constructor

OBSOLETE

Use the DiagramTheme(string, string, DiagramColorPalette, DiagramEffectCollection, DiagramFontSettings) constructor instead.

Initializes a new instance of the DiagramTheme class.

Namespace: DevExpress.Diagram.Core

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

Declaration

[Obsolete("Use the DiagramTheme(string, string, DiagramColorPalette, DiagramEffectCollection, DiagramFontSettings) constructor instead.")]
public DiagramTheme(
    string themeId,
    Func<string> getThemeName,
    DiagramColorPalette colorPalette,
    DiagramEffectCollection effectCollection,
    DiagramFontSettings fontSettings
)

Parameters

Name Type Description
themeId String

A String value identifying the theme.

getThemeName Func<String>

A function that returns the theme name.

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.

See Also