Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set DataContext property from XAML
Message
From
21/06/2010 07:59:08
 
 
To
All
General information
Forum:
ASP.NET
Category:
Windows Presentation Foundation (WPF)
Title:
Set DataContext property from XAML
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01469854
Message ID:
01469854
Views:
85
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...)
Reply
Map
View

Click here to load this message in the networking platform