Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
Attempt to use Aero theme on XamDataGrid causes exception
posted

Exception encountered: The 'ThemeManager.RegisterGroupings' method must be used to register the groupings for elements of type 'Infragistics.Windows.DataPresenter.HeaderLabelArea' or one of its base classes to indicate the theme groupings that should be applied when the 'Theme' property is set.

This is the only change I've made:

<Style x:Key="DataGridStyle">

<Setter Property="igDP:XamDataGrid.Theme" Value="Aero" />

</Style>

I assume I'm doing it wrong, but what am I doing wrong and how do I do it right?