Class ToastButton
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions.Toast
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents a button in a toast.
[ExcludeFromCodeCoverage]
public class ToastButton
- Inheritance
-
ToastButton
- Inherited Members
Constructors
ToastButton(string?, string?, Action?)
Initializes a new instance of the ToastButton class.
public ToastButton(string? text, string? icon, Action? action)
Parameters
Properties
Action
Gets or sets the action to execute when the button is clicked.
public Action? Action { get; set; }
Property Value
Icon
Gets or sets the icon.
public string? Icon { get; set; }
Property Value
Text
Gets or sets the text.
public string? Text { get; set; }