Click here to Skip to main content
15,354,816 members
Articles / Desktop Programming / WPF

Tagged as

Stats

12.9K views
2 bookmarked

How to hook up a ViewModel to a window using an attached property

Rate me:
Please Sign up or sign in to vote.
3.50/5 (2 votes)
22 Nov 2010CPOL
Shows you how you can attach a viewmodel to your WPF window using attached properties, rather than setting the DataContext to a static resource or in code-behind

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Morten Nilsen
Norway Norway
No Biography provided

Comments and Discussions