Using Built-In Themes

Glossary Item Box

Infragistics(R) NetAdvantage(R) for WPF

Using Built-In Themes

The xamDataCarousel™, xamDataGrid™, and xamDataPresenter™ controls can be styled with built-in themes stored in the assembly. Setting the control's Theme property to the name of the desired theme is all that is necessary to use built-in themes. The available built-in themes include:


The following procedure assumes you already have a control setup for which you want to set the Theme property. The procedure has been written in the context of xamDataGrid, but works the same way for xamDataCarousel and xamDataPresenter.

To set the Theme property on the xamDataGrid control:

  1. The following XAML shows you where to set the Theme property in relationship to the control. It also sets the Theme property to the Office2k7Black built-in style.

    In XAML:

    <igDP:XamDataGrid 
      ...
      Theme="Office2k7Black"/>
    

  2. When you apply the Office2k7Black theme to xamDataGrid, the control would look similar to the image below.

E-mail your feedback on this topic.

Opinion about our help? Take our survey.

Copyright © 2003-2007 Infragistics, Inc. All rights reserved.

Build Version: 7.1.20071.1320