Version

Features Overview (ThemeManager)

Topic Overview

Purpose

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

In this topic

This topic contains the following sections:

Introduction

ThemeManager summary

The main purpose of the Infragistics ThemeManager is to provide an easier way for applying a specified theme to an application or a control with a single line of code.

Available Themes and Required Assemblies

Introduction

If you want to apply a theme to an application, a page or a control, you may choose from the provided five theme packages. The theme packages contain resource dictionaries for all available Ultimate UI for WPF controls as well as themes for the supported Microsoft WPF controls.

Requirements summary chart

The following table summarizes the available theme packages and required NuGet package to use that theme. For more information on setting up the NuGet feed and adding NuGet packages, you can take a look at the following documentation: NuGet Feeds.

Theme Required NuGet Package

IgTheme

Infragistics.WPF.Themes.IG

MetroDarkTheme

Infragistics.WPF.Themes.MetroDark

MetroTheme

Infragistics.WPF.Themes.Metro

Office2010BlueTheme

Infragistics.WPF.Themes.Office2010Blue

Office2013Theme

Infragistics.WPF.Themes.Office2013

RoyalDark

Infragistics.WPF.Themes.RoyalDark

RoyalLight

Infragistics.WPF.Themes.RoyalLight

Main Features

Applying a theme on a FrameworkElement level

Apply a theme on a Window, Page or Grid level; or anywhere in the Visual Tree, and the controls included in that particular level will be styled accordingly with a single line of code using ThemeManager .

You can also limit the scope of a theme by applying it just to a particular control.

In XAML:

<ig:XamGrid ItemsSource="{Binding Path=Customers}" >
    <ig:ThemeManager.Theme>
        <ig:Office2013Theme />
    </ig:ThemeManager.Theme>
</ig:XamGrid>
Theme Manager Overview 1.png

Applying a theme to an application level

Apply a specified theme to a WPF application with a single line of code instead of including and referencing all necessary resource dictionaries.

In C#:

ThemeManager.ApplicationTheme = new Office2013Theme();
Theme Manager Overview 2.png

Applying a theme to the supported Microsoft WPF controls

Apply a theme to an application and all available controls including the supported Microsoft WPF controls will be styled accordingly.

In XAML:

<ig:ThemeManager.Theme>
    <ig:Office2013Theme StyleMicrosoftControls="True" />
</ig:ThemeManager.Theme>
Theme Manager Overview 3.png

Creating a New Custom Theme

Create and apply custom themes to Infragistics and common Microsoft WPF controls using ThemeManager.

Theme Manager Overview 4.png

Extending an Existing Control Theme

Extend an existing built-in theme and apply it using ThemeManager.

Theme Manager Overview 5.png

Related Topics

The following topics provide additional information related to this topic.

Topic Purpose

The topics in this group explain how to configure different features of Infragistics ThemeManager .

This topic explains the Infragistics ThemeManager known issues and limitations.

This topic provides reference information about the key classes related to Infragistics ThemeManager .