You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

Theme.CreateTheme(ThemePaletteBase, Theme, String, String, String, Uri, Uri, Uri) Method

Creates a new Theme with the specified settings.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v20.2.dll

Declaration

public static Theme CreateTheme(
    ThemePaletteBase palette,
    Theme baseTheme,
    string themeName = null,
    string fullThemeName = null,
    string category = null,
    Uri smallGlyph = null,
    Uri largeGlyph = null,
    Uri svgGlyph = null
)
Public Shared Function CreateTheme(
    palette As ThemePaletteBase,
    baseTheme As Theme,
    themeName As String = Nothing,
    fullThemeName As String = Nothing,
    category As String = Nothing,
    smallGlyph As Uri = Nothing,
    largeGlyph As Uri = Nothing,
    svgGlyph As Uri = Nothing
) As Theme

Parameters

Name Type Description
palette ThemePaletteBase

A ThemePaletteBase that specifies the palette.

baseTheme Theme

A Theme that specifies the base theme.

Optional Parameters

Name Type Default Description
themeName String

null

A String that specifies the theme name.

fullThemeName String

null

A String that specifies the theme full name.

category String

null

A String that specifies the name of the theme category.

smallGlyph Uri

null

A Uri that specifies the uniform resource identifier of the theme small icon.

largeGlyph Uri

null

A Uri that specifies the uniform resource identifier of the theme large icon.

svgGlyph Uri

null

A Uri that specifies the uniform resource identifier of the theme vector (SVG) icon.

Returns

Type Description
Theme

A Theme that specifies the new theme.

See Also