Skip to content

DialogChoice<T> class

A single choice in a dialog: the button caption and the result returned when it is pressed.

public sealed class DialogChoice<T>
parameter 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.

See Also