When the XamComboEditor is readonly the mouse wheel remains active!Is possible to disable mouse wheel when XamComboEditor is read only?
IsInEditMode is a property that is set to a local value when the editor goes into or comes out of edit mode. So for an element that isn't always in edit mode (i.e. its IsAlwaysInEditMode is false) when it gets the input focus it goes into edit mode. As part of that the IsInEditMode property is set, the template of the editor is changed to use its EditTemplate property, edit mode events are raised and the value may be changed.
Yes, this can be submitted as a feature request. For now, if you don't want the combo to be modifiable then you should set the IsEnabled to false.
There is the possibility that this feature is implemented in a future release?What is the function property IsInEditMode? I changed the value but do nothing.
Thanks for reply
The xamComboEditor contains a WPF ComboBox when in edit mode. The ComboBox always handles the MouseWheel and in looking at its code I don't see anyway of preventing it from doing so. When it has the input focus and its not dropped down, it uses this event to change the selected item. When it is droppeddown they probably want to prevent the containing scrollviewer from scrolling the control which I believe is what a WinForms/OS combobox would do. Note, readonly in terms of the ComboBox really just controls whether the edit area can be typed into and not preventing the value from being changed.