Button
Note: You can check the Avalonia docs for the Button and Button API if you need more information.
For Avalonia.FuncUI's DSL properties you can check Button.fs
Buttons are basic controls for any application you may build, buttons are often used to trigger an action.
Usage
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
for more information check the Click Mode docs
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
Last updated