About button binding #300
Unanswered
mimimiaomiao1
asked this question in
Q&A
Replies: 2 comments
-
`<Button Content="{Binding SwitchLoginPageContent,Mode=TwoWay}" Command="{s:Action Login}" ` |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please post a full sample which reproduces your issue. I don't know what "sub psages cannot be used" means. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
View.ActionTarget not set on control System.Windows.Controls.Button: (method Login). This probably means the control hasn't inherited it from a parent, e.g. because a ContextMenu or Popup sits in the visual tree. You will need so set 's:View.ActionTarget' explicitly. See the wiki section "Actions" for more details.”
The main page can be used. Sub pages cannot be used...Beta Was this translation helpful? Give feedback.
All reactions