# IDialogButtonViewModel.Index property

The position of the button among the buttons docked to the same side, in ascending order. `null` leaves the button in its declaration order.

```csharp
public int? Index { 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 -->
