# IDialogButtonViewModel.Command property

The command invoked when the button is pressed. A button with no command is inert.

```csharp
public ICommand? Command { get; }
```

## See Also

* interface [IDialogButtonViewModel](../IDialogButtonViewModel.md)
* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Common.Contracts.dll -->
