You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation of OnPreviewKeyDown marks keys LeftAlt and RightAlt as Handled, probably to prevet shortcuts on parent windows to be activated.
This prevents the users for entering all characters requiring CTRL+ALT eg. @ and more.
The text was updated successfully, but these errors were encountered:
In the current case, the ChildWindow is used to edit person details, and one field was for an e-mail address, but it's not possible to input @ in a textfield, can by copy pasted into the field.
Yes, when the ChildWindow is modal, the LeftAlt and RightAlt keys are handled to prevent MenuItem shortcut from being activated.
Could you try to create your own MyChildWindow, deriving from ChildWindow, and override the OnPreviewKeyDown() method to not call it's base method ? This would remove the handling of the Alt keys.
If you run the ChildWindow with IsModal.
The implementation of OnPreviewKeyDown marks keys LeftAlt and RightAlt as Handled, probably to prevet shortcuts on parent windows to be activated.
This prevents the users for entering all characters requiring CTRL+ALT eg. @ and more.
The text was updated successfully, but these errors were encountered: