Class MessageBoxResult
Which button closed a MsgBox, or that nobody was asked.
public sealed record MessageBoxResult : IEquatable<MessageBoxResult>
- Inheritance
-
MessageBoxResult
- Implements
- Inherited Members
Properties
Handled
Whether someone was asked. false when the one asked has nobody to ask - a client that did not say it shows dialogs - and the host shows the dialog the platform it runs on has.
public bool Handled { get; init; }
Property Value
NotHandled
The answer of one who has nobody to ask.
public static MessageBoxResult NotHandled { get; }
Property Value
Result
The VbMsgBoxResult of the button that closed the dialog.
public int Result { get; init; }