ThemeRegistrator.RegisterThemes(IDictionary, Func<String, String>) Method
Registers the specified themes.
Namespace: DevExpress.Diagram.Core
Assembly: DevExpress.Diagram.v20.2.Core.dll
NuGet Packages: DevExpress.Diagram.Core, DevExpress.WindowsDesktop.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.
Related GitHub Examples
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.