DialogChoice<T> class¶
A single choice in a dialog: the button caption and the result returned when it is pressed.
Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Common.Contracts.dll
NuGet Package: Eremex.Common.Contracts
Declaration¶
Type Parameters¶
| name | description |
|---|---|
| T | The result type. |
Public Members¶
| name | description |
|---|---|
| DialogChoice(…) | Initializes a new instance of the DialogChoice class. |
| Caption { get; } | The button caption. |
| Dock { get; set; } | The side the button is docked to. |
| Index { get; set; } | The button order within its side. |
| IsCancel { get; set; } | The cancel button, invoked by Escape. |
| IsDefault { get; set; } | The default button, invoked by Enter. |
| Result { get; } | The result returned when the button is pressed. |