General information
Category:
Windows Presentation Foundation (WPF)
Title:
Set DataContext property from XAML
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only