Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the equivalent of SetFocus()
Message
De
10/02/2009 01:33:03
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Titre:
What is the equivalent of SetFocus()
Divers
Thread ID:
01380470
Message ID:
01380470
Vues:
111
What C# code would I use to set the focus to the named WPF TextBox below:

I've tried txtPattern.Focus(), but it does nothing.
<TextBox Name="txtPatternName" Text="{Binding Path=PatternName, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" Width="150" />
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform