Is there a bug in DataGrid.BindingGroup

Nov 4, 2009 at 8:38 PM

this is what i have in the xaml (of course this is just the important snippet not the whole code):

           <local:LogValidationRule ValidationStep="RawProposedValue"/>
in the code behind in the LogValidationRule method i have:
BindingGroup bindingGroup = value as BindingGroup;
log lg = bindingGroup.Items[0] as log;
well Items count=0. i have tried the same code in <Grid> rather than <DataGrid> and it worked: Items count=1. Thus my question: is there a bug in DataGrid.BindingGroup where it does not bind the objects to the collection? 
If there is a bug, is there a workaround and what is that?
thank you.