Skip to main content

ThemeRegistrator.RegisterThemes(IDictionary, Func<String, String>) Method

Registers the specified themes.

Namespace: DevExpress.Diagram.Core

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

NuGet Package: DevExpress.Diagram.Core

Declaration

public static void RegisterThemes(
    IDictionary themesDictionary,
    Func<string, string> getThemeName
)

Parameters

Name Type Description
themesDictionary IDictionary

An object implementing the System.Collections.IDictionary interface that is the collection of DevExpress.Diagram.Core.Themes.Theme objects.

getThemeName Func<String, String>

A function that returns the theme name.

Remarks

The ThemeRegistrator.Themes property returns the collection of available themes.

See Also