Skip to main content

ThemeRegistrator.RegisterThemes(Stream, 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(
    Stream stream,
    Func<string, string> getThemeName
)

Parameters

Name Type Description
stream Stream

A System.IO.Stream object that contains themes to register.

getThemeName Func<String, String>

A function that returns the theme name.

Remarks

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

See Also