I need to use the list 'lFx' from my ModelView
<TextBox Grid.Row="2" Grid.Column="0"
Style="{StaticResource StyleTxtErr}"
Validation.ErrorTemplate="{StaticResource ValidationGrp}"
>
<TextBox.Text>
<Binding Path="sGrp" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged">
<Binding.ValidationRules>
<local:cDataGrpRule lFx="{Binding lFx}"/>
</Binding.ValidationRules>
</Binding>
</TextBox.Text>
</TextBox>
Actually, this code shows me this error at line '<local:cDataGrpRule ...'
A binding cannot be set to lFx, ...
A binding can only be set to DependencyProperty of a DependenxyObject
How can I initialize my ValidationRule Object with an object set in my ViewModel ?
Thanks in advance. Eric.