c# - Have to click away twice from Calendar in WPF -


edit 2: thank feedback. solved problem adding selecteddateschanged event:

mouse.capture(null);

when select date in calendar, want click "go" button. however, need click "go" button twice: once de-focus calendar, , again press it. mouse leave event not trigger on calendar if item selected inside of it, , keyboard.clearfocus() not de-focus either.

please, how can rid of calendar's focus whenever select date? thank you!

edit: clicking "go" button next merely example; if want select textbox , have selected date, have click twice enter textbox. main issue that, once calendar interacted with, must clicked out of once before interacting other elements.

i solved problem adding selecteddateschanged event:

mouse.capture(null);


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -