Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Count from textbox - MVVM
Message
 
À
22/10/2011 08:54:31
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Application:
Desktop
Divers
Thread ID:
01527088
Message ID:
01527097
Vues:
43
I would consider adding new property CharactersLeft to the view model, binding the label to this property, and changing this property inside the setter of a property that the textboxe's Text is bound to. I assume that you have the INotifyChanged implemented in your view model.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform