Class InputBoxResult
What was typed in an InputBox, that it was cancelled, or that nobody was asked.
public sealed record InputBoxResult : IEquatable<InputBoxResult>
- Inheritance
-
InputBoxResult
- Implements
- Inherited Members
Properties
Cancelled
Whether the dialog was cancelled - its Cancel button, or Esc - which the program is told with vbNullString, and not with
the zero-length string of a dialog confirmed with nothing typed.
public bool Cancelled { get; init; }
Property Value
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 InputBoxResult NotHandled { get; }
Property Value
Value
What was typed; ignored when Cancelled.
public string Value { get; init; }