I would be greatful to any one who can suggest me solution for my problem
i have a custom usercontrol ,i have a selectedvalue dependency property and selected item dependency property on the control ,how we can sync two properties value when any one of them is changed before raising the selectionchanged event. if we change selectedvalue it should first sync selecteditem and then raise selectionchanged event
and if we change selecteditem it should sync selectedvalue and then raise selectionchanged event.
kind regards
i have a custom usercontrol ,i have a selectedvalue dependency property and selected item dependency property on the control ,how we can sync two properties value when any one of them is changed before raising the selectionchanged event. if we change selectedvalue it should first sync selecteditem and then raise selectionchanged event
and if we change selecteditem it should sync selectedvalue and then raise selectionchanged event.
kind regards