tags:

views:

226

answers:

2

I am developing a Watermarked Combobox by modifying Combobox Control template. everything is fine when combo box is not in editable mode. but when i change edit mode to True, isFocused property never set to True. this is because in edit mode, combo box is using a Text Box. This is exact copy of this StackOverflow question: . there are no responces to that question. please drop a line if you know how to solve this. or please point me to links that provide Watermark Combobox implementation. Thanks, Rey.

+2  A: 

You could try to use the IsKeyboardFocused or IsKeyboardFocusWithin instead

Thomas Levesque
IsKeyboardFocusWithin Worked. Thanks.
Rey
A: 

how i can set focus within a combo box(on initialization) so that user can start typing to search list.

RAJ K
Try FocusManager ...
Rey