This question is locked. New answers and comments are not allowed.
I've found other posts about this but none seemed to fully address how to fix the problem so I apologize if this has been answered elsewhere.
The problem I'm having is that when a user clicks on a menu item with no children, like "Save", the PropertyChangedEventHandler isn't being fired if the user was typing into a textbox prior to it (presumably because focus isn't being changed). This leads to the text entered immediatedly before the "Save" click to be lost as the textbox never updates the code.
Oddly enough, it does seem to switch focus if the user pans the mouse over a menu item that does have children, making the drop down boxes appear. So my question is this: Is there any way to alter the single menu item when using view/view models to mimic the focus change that the displaying of the children seems to do?
Sorry if I'm not the clearest either, but just started working on stuff like this two days ago so I'm no expert. Thanks in advance for any answers.
The problem I'm having is that when a user clicks on a menu item with no children, like "Save", the PropertyChangedEventHandler isn't being fired if the user was typing into a textbox prior to it (presumably because focus isn't being changed). This leads to the text entered immediatedly before the "Save" click to be lost as the textbox never updates the code.
Oddly enough, it does seem to switch focus if the user pans the mouse over a menu item that does have children, making the drop down boxes appear. So my question is this: Is there any way to alter the single menu item when using view/view models to mimic the focus change that the displaying of the children seems to do?
Sorry if I'm not the clearest either, but just started working on stuff like this two days ago so I'm no expert. Thanks in advance for any answers.