How can I set the focus to an element when the dialog window is displayed?
Thanks,
Antxon
Hello Antxon,
I am just checking have you been able to resolve your issue? If you still need any assistance on the matter do not hesitate to ask.
I was looking into your question and I can suggest you handle the Loaded or LayoutUpdated event of the XamDialogWindow and in the handler to explicitly focus the element that you want(for example TextBox) with the following snippet:
myTextBox.Focus();
If this doesn’t suit your scenario, could you please provide me with some additional details about your case, so I can research this further.