locked
grouping in silverlight3.0 datagrid RRS feed

  • Question

  • i m using silverlight 3.0 and i want grouping in  data grid and for that i m writing following in xaml file

     <data:DataGrid ItemsSource="{Binding}">
                       <data:DataGrid.GroupDescriptions>
                          <cm:PropertyGroupDescription PropertyName="Gender" />
                      </data:DataGrid.GroupDescriptions>
                  </data:DataGrid>

    but it gives "The property 'GroupDescriptions' does not exist on the type 'DataGrid'  error.

    i've already included follwing ref.

     xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
     xmlns:cm="clr-namespace:System.Windows.Data;assembly=System.ComponentModel"

     

     m i missing something ????????????

     

    Wednesday, July 29, 2009 9:07 AM

Answers

All replies