Skip to main content

Command Property

Gets or sets an ICommand to be invoked when the button is clicked.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public ICommand? Command { get; set; }

Property Value

ICommand

Implements

ICommandSource.Command

See Also

Reference

Button Class
Avalonia.Controls Namespace