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
Post a Comment