Skip to main content

Theme.DefaultThemeName Property

Gets the name of the default theme.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public static string DefaultThemeName { get; }

Property Value

Type Description
String

A String that specifies the name of the default theme.

Remarks

To obtain the full name of the default theme, use the static Theme.DefaultThemeFullName property.

You can also determine whether a particular theme is the default one. To do this, use the static Theme.IsDefaultTheme method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DefaultThemeName property.

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