I am trying to do it like this...
RadGroupDescription rgd = new RadGroupDescription();
CheckBox cb = new CheckBox();
cb.Checked +=
new RoutedEventHandler(cb_Checked);
rgd.DisplayContent = cb;
dataGrid.GroupDescriptions.Add(rgd);
However, I keep getting this error regarding the first line....
Error 3 The type 'System.ComponentModel.GroupDescription' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242'. C:\pwSource\Silverlight2\Dev\Framework\PetroWEB\Reports\PWDataGrid.xaml.cs 415 13 PetroWEB.Silverlight
I have the dll referenced from the default location.. (c:\Program Files\Microsoft SDKs\Silverlight\v2.0\Libraries\Client\System.Windows.Controls.Data.dll) But it won't let me add a 'Using' Statement...
the only intellisense option at System.Windows.Controls. is Primitives?
http://silverlight.net/forums/p/104147/237821.aspx#237821