Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set DataContext property from XAML
Message
De
21/06/2010 07:59:08
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Titre:
Set DataContext property from XAML
Versions des environnements
Environment:
C# 4.0
Divers
Thread ID:
01469854
Message ID:
01469854
Vues:
99
Can't believe I'm stuck on this but....

Given an object that has a public bool property and is used as the DataContext for a window how can I set that property from XAML?
(Not talking about binding to a Checkbox or anything like that - just simply setting it true or false in the markup...)
Répondre
Fil
Voir

Click here to load this message in the networking platform