wpf datagrid is not detected by coded UI test?

does the wpf datagrid supports UI automation ? i was trying to write some UI testing on our application (that has wpf datagrid control) using the coded UI test (comes with vs 2010). but its not detecting the wpf datagrid control ? any idea how do i able
to make it detectable ? but it is detecting 2.0 datagrid.