i have textbox associated adorner. when give textbox keyboard focus, , click adorner, removes textbox's keyboard focus (lostkeyboardfocus event). need textbox keep keyboard focus when click adorner (which blue box surrounding textbox.
i don't think can screenshot visual assets or snoop class hierarchy. don't know how rules work.
but is
grid
> mytextbox
adornerlayer
> resizeadorner { adornedelement = mytextbox }
where resizeadorner extends wpf adorner class.
one option i'm considering handling gotfocus event in resizeadorner, , manually focus()ing adorned element again.
Comments
Post a Comment