Button
Last updated
Last updated
Note: You can check the Avalonia docs for the and if you need more information.
For Avalonia.FuncUI's DSL properties you can check
Buttons are basic controls for any application you may build, buttons are often used to trigger an action.
You can check the general usage of Avalonia.FuncUI's views and attributes in the following link Views and Attributes
Create a Button
Register Click
Set Click Mode
Set Content
Buttons can have arbitrary content, for example it can be a string as the example above. It also can be another entire control like a StackPanel
for more information check the docs