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

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

Registers the specified themes.

Namespace: DevExpress.Diagram.Core

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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterThemes(IDictionary, Func<String, String>) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also