this is what i have in the xaml (of course this is just the important snippet not the whole code):
in the code behind in the LogValidationRule method i have:
BindingGroup bindingGroup = value as BindingGroup;
log lg = bindingGroup.Items 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?