Hi,
The ComboBoxColumn set the value of the selected item only after clicking in other area so the cell lost focus.
I the value to be set immediately after the user select the item, because sometimes he select item and not click other place and he waits to the change take effect.
Hi Dudi,
I understand that the combobox control is not updated or closed when select item. But I have tested to changed the selected item using the mouse and it seems to work on my side. Can you please provide me with more information how the selected item is changed or provide me with sample where the issue is reproducible.
Thanks,
M.Yovchev
The selected item is being selected. the problem is when the Set property is called.
Let's say the ComboBoxColumn is binded to this property:
public Color ChannelBrush
{
get { return _channelBrush; }
set
_channelBrush = value;
RaisePropertyChanged(() => ChannelBrush);
}
When you debug you can see that the set is called only after clicking in other location (so the cell lost focus) and not immediately after the drop-down is closed.
Now I understand your concern. Thanks for clarifying this. I can suggest to use "EditorDisplayBehavior" property for the ComboBoxColumn and set the value of this property to "Always" (<ig:ComboBoxColumn Key="someKey" EditorDisplayBehavior="Always" ... />)
Please try this and say if it is applicable for you.
That solved the issue, thanks a lot!
Thank you for your feedback. I am glad that the issue is resolved.
Regards,