Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown Attachable member View.Model UWP #710

Closed
antmurph opened this issue Jul 2, 2020 · 2 comments
Closed

Unknown Attachable member View.Model UWP #710

antmurph opened this issue Jul 2, 2020 · 2 comments

Comments

@antmurph
Copy link

antmurph commented Jul 2, 2020

v4.0.136-rc
UWP min 17763 target 18362

I have a View Model first App, I would like to bind a Content Control to a view model but I get "Unknown attachable member 'View.Model' on element 'ContentControl' "

xmlns:cal="clr-namespace:Caliburn.Micro;assembly=Caliburn.Micro.Platform"

<ContentControl cal:View.Model="{Binding StatusDetailViewModel}" />

Ive had nothing but success with Caliburn, Great work on this. Hopefully this is something simple I missed.

@nigel-sampson
Copy link
Contributor

My understanding was the namespace syntax in UWP is xmlns:cm="using:Caliburn.Micro".

@antmurph
Copy link
Author

antmurph commented Jul 6, 2020

@nigel-sampson That worked, I knew it must be something incredibly simple. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants