Click here to Skip to main content
15,885,757 members
Articles / Desktop Programming / WPF

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

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
22 Nov 2010CPOL 9K   1  
I also have implemented a MarkupExtension to set the DataContext, which looks like this:[MarkupExtensionReturnType(typeof(ApplicationControllerBase))]public class ApplicationDataContext : MarkupExtension{ private Type dataContextType; public ApplicationDataContext(Type...

Views

Daily Counts

License

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


Written By
Norway Norway
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions