Skip to main content

ThemeRegistrator.RegisterThemes(IEnumerable<Theme>, 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(
    IEnumerable<Theme> themes,
    Func<string, string> getThemeName
)

Parameters

Name Type Description
themes IEnumerable<DevExpress.Diagram.Core.Themes.Theme>

A 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