WPF Focus

  • Thread starter Thread starter Andy
  • Start date Start date
A

Andy

Hi,

I have a combobox, and the template for each item in the combo
contains two text boxes. If the textbox is readonly, I'd like
clicking on the textbox to select the item and close to dropdown.
Otherwise, the default behavior is fine.

Thanks
Andy
 
Hi,

I have a combobox, and the template for each item in the combo
contains two text boxes. If the textbox is readonly, I'd like
clicking on the textbox to select the item and close to dropdown.
Otherwise, the default behavior is fine.

Thanks
Andy

Still no one has an answer?
 
You could try to set the IsHitTestVisible property of the readonly textboxes
to false.
 
You could try to set the IsHitTestVisible property of the readonly textboxes
to false.

Sorry for getting back to you so late.. got side tracked. Just wanted
to let you know, this worked great, exactly what I wanted.

Thanks!
Andy
 
Back
Top