Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Theme(String, String, String, Uri, Uri, Uri) Constructor

Initializes a new instance of the Theme class with the specified settings.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public Theme(
    string name,
    string fullName,
    string category = "Standard Themes",
    Uri smallGlyphUri = null,
    Uri largeGlyphUri = null,
    Uri svgGlyphUri = null
)

#Parameters

Name Type Description
name String

A String that specifies the theme name. This value is assigned to the Theme.Name property.

fullName String

A String that specifies the theme full name. This value is assigned to the Theme.FullName property.

#Optional Parameters

Name Type Default Description
category String "Standard Themes"

A String that specifies the name of the theme category. This value is assigned to the Theme.Category property.

smallGlyphUri Uri null

A Uri that specifies the uniform resource identifier of the theme small icon. This value is assigned to the Theme.SmallGlyph property.

largeGlyphUri Uri null

A Uri that specifies the uniform resource identifier of the theme large icon. This value is assigned to the Theme.LargeGlyph property.

svgGlyphUri Uri null

A Uri that specifies the uniform resource identifier of the theme vector (SVG) icon. This value is assigned to the Theme.SvgGlyph property.

See Also