Question : How to set focus to a textbox in WPF

Default my textbox is in disable mode.when i click the button,i should enable the textbox and set focus on textbox.

I need focus configuration setting for textbox in xaml code.

Answer : How to set focus to a textbox in WPF



....
FocusManager.FocusedElement="{Binding ElementName=myTextBox}">
....

....

Random Solutions  
 
programming4us programming4us