Skip to main content
All docs
V24.1

LightweightThemeManager.RegisterTheme(LightweightTheme) Method

Registers the specified theme in the LightweightThemeManager.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public static void RegisterTheme(
    LightweightTheme theme
)

Parameters

Name Type Description
theme LightweightTheme

The lightweight theme.

Remarks

Use the RegisterTheme method to register a newly created theme. You can apply only registered themes to your WPF application.

See Also