Version

Applying a Theme to an Application Level (ThemeManager)

Topic Overview

Purpose

This topic describes how to apply a theme to an application using Infragistics ThemeManager™.

Required background

The following topics are prerequisites to understanding this topic:

Topic Purpose

This topic provides a detailed overview of Infragistics ThemeManager and its main features.

In this topic

This topic contains the following sections:

Applying a Theme to an Application

Overview

Use the ThemeManager ApplicationTheme property to set a theme to an application.

The theme is applied to all controls in the application including the supported common Microsoft WPF controls.

Note
Note

The ApplicationTheme property is set only in code-behind.

Property settings

The following table maps the desired configuration to the property settings that manage it.

In order to: Use this property: And set it to:

Apply a theme to the entire WPF application

Example

The code below shows how to apply the Office2013 theme to an application:

In C#:

ThemeManager.ApplicationTheme = new Office2013Theme();

In Visual Basic:

ThemeManager.ApplicationTheme = New Office2013Theme()

Related Content

Topics

The following topics provide additional information related to this topic.

Topic Purpose

This topic describes how to apply a theme to a FrameworkElement using Infragistics ThemeManager .

This topic describes how to enable/disable the theming of the supported Microsoft WPF controls using Infragistics ThemeManager .

This topic describes how to create and apply a new custom theme to a control using Infragistics ThemeManager .

This topic describes how to extend an existing control theme using Infragistics ThemeManager .