Table of Contents

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

text string

Text.

icon string

Icon.

action Action

Action to execute when the button is clicked.

Properties

Action

Gets or sets the action to execute when the button is clicked.

public Action? Action { get; set; }

Property Value

Action

Icon

Gets or sets the icon.

public string? Icon { get; set; }

Property Value

string

Text

Gets or sets the text.

public string? Text { get; set; }

Property Value

string