# IDialogAwareViewModel interface

Implemented by view models shown as modal dialogs through [`IDialogService`](./IDialogService.md). It adds the dialog buttons to what [`IWindowAwareViewModel`](./IWindowAwareViewModel.md) already describes.

```csharp
public interface IDialogAwareViewModel : IWindowAwareViewModel
```

## Members

| name | description |
| --- | --- |
| [ButtonsSource](IDialogAwareViewModel/ButtonsSource.md) { get; } | The buttons shown in the dialog footer, in the order they are declared. `null` or an empty sequence produces a dialog with no buttons of its own. |

## See Also

* interface [IWindowAwareViewModel](./IWindowAwareViewModel.md)
* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Common.Contracts.dll -->
