DialogOption
A selectable action shown in a dialog.
- Kind: Record struct
- Namespace: SkeleKit
- Implements:
IEquatable<DialogOption>
Constructors
Creates a dialog option.
| Parameter | Summary |
|---|---|
string text | The option's title. |
(optional) bool isDestructive | Whether the option is styled as destructive. |
Properties
IsDestructive
Whether the option is styled as destructive.
Type: bool
Text
The option's title.
Type: string
Operators
Implicit DialogOption(string)
Converts a string into a standard dialog option.
| Parameter | Summary |
|---|---|
string text | The option's title. |
Returns
DialogOption: A standard dialog option with the supplied title.