How to use the Button? #5486
-
I'm new to Avalonia and have been reading the documentation for the Button control. But I can't get it to work. I've tried to use the Command paramenter to bind it to a simple method or a ReactiveCommand in my view model, but this results in the button being disabled and unclickable: The button is stil disabled if I set IsEnabled to True in my xaml: If I try to use the Click event, Visual Studio will throw an error that is beyond my capability to understand.
What am I doing wrong? Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Can you show how |
Beta Was this translation helpful? Give feedback.
Can you show how
ClearItems
/buttonClear_Click
look like?