docs/guides/data-binding/how-to-bind-to-a-command-with-reactiveui #867
Replies: 1 comment
-
|
Instead "<Button.CommandParameter>..." we could use a simpler syntax: xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"and then: <Button Command="{Binding SomeCommand}" CommandParameter="{x:True}"></Button> |
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
Uh oh!
There was an error while loading. Please reload this page.
-
docs/guides/data-binding/how-to-bind-to-a-command-with-reactiveui
This guide shows you how to bind a view model method (that performs an action) to a control that can initiate an action in response to user interaction (for example, a button). This binding is defined in XAML using the Command attribute, for example:
https://docs.avaloniaui.net/docs/guides/data-binding/how-to-bind-to-a-command-with-reactiveui
Beta Was this translation helpful? Give feedback.
All reactions