Hi,
We have a ribbon window with two wizard pages and on second page when we click Cancel or Close(X) icon the NewFocus is set to previous page element but ideally when window is closing the NewFocus should be given to parent window and there is no point setting focus to previous page when the wizard window itself is closing.
Another issue related to this is that we have a user control on whose lost focus we are doing some validation but when we hit Cancel button of wizard the OnPreviewLostKeyboardFocus event if firing twice first time the NewFocus is "PART_CancelButton" and second time the NewFocus comes out to be previous page control.
Is this a desired behavior?
Thanks in advance,
Anurodh
We have a ribbon window with two wizard pages and on second page when we click Cancel or Close(X) icon the NewFocus is set to previous page element but ideally when window is closing the NewFocus should be given to parent window and there is no point setting focus to previous page when the wizard window itself is closing.
Another issue related to this is that we have a user control on whose lost focus we are doing some validation but when we hit Cancel button of wizard the OnPreviewLostKeyboardFocus event if firing twice first time the NewFocus is "PART_CancelButton" and second time the NewFocus comes out to be previous page control.
Is this a desired behavior?
Thanks in advance,
Anurodh