Hello Lakshmi,
Let me know if you have any further questions on this matter.
Where are you applying this Setter? The XamCheckEditor does not have a Content property. If you want the convert back method of a converter to fire when the XamCheckEditor is checked or unchecked, you need to set the MultiBinding on the Value or IsChecked property of the check editor.
Pleae find the xaml below, I have applied TwoWay binding at both places:
<Setter Property="Content" >
<Setter.Value>
<MultiBinding Converter="{StaticResource ApprovedByConverter}" Mode="TwoWay" UpdateSourceTrigger="PropertyChanged">
<Binding Path="DataItem.ApprovedByUserId" UpdateSourceTrigger="PropertyChanged" Mode="TwoWay"/>
<Binding Path ="DataContext.UserManagementService" RelativeSource="{RelativeSource AncestorType=UserControl}" Mode="OneWay"/> </MultiBinding>
</Setter.Value>
</Setter>
Hi Lakshmi,
I doesn't appear that your XAML was successfully added to the post. Do you have an EditorStyle set for your check editor? And if so, did you bind the Value property directly to your underlying data property? If you did you'll need to set the Mode to TwoWay so that when you click on the checkbox it updates the underlying data property triggering your ConvertBack method. I'd need to see your XAML to confirm this though.