TemplateBinding a RelayCommand - how to? #11923
Unanswered
williambuchanan2
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
I have created a 'master page' for my app, and I am inheriting from this page for all the actual (content) pages. This is all working fine.
In the master page I can bind to data from the content page VM by using TemplateBinding:
This also works fine.
However, I can't seem to get my RelayCommands to bind. E.g. if I put this in the master page:
...It doesn't work.
I have seen a suggestion to use BindableProperty, but I can't find an example of that for anything other than basic string binding.
Any suggestions?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions