Table of Contents

Class UI

Namespace
GroupeIsa.Neos.Designer.UIAbstractions
Assembly
GroupeIsa.Neos.Designer.UIAbstractions.dll

Represents the UI global methods.

[ExcludeFromCodeCoverage]
public static class UI
Inheritance
UI
Inherited Members

Methods

NavigateAsync(NavigationOptions)

Navigates to a view. It won't call any Navigating event rules.

public static Task NavigateAsync(NavigationOptions options)

Parameters

options NavigationOptions

Navigation options.

Returns

Task

A Task representing the asynchronous operation.

ShowToast(MessageType, string?, string, int?, bool, params ToastButton[])

Shows a toast.

public static void ShowToast(MessageType type, string? title, string text, int? duration = 3000, bool dismissible = true, params ToastButton[] buttons)

Parameters

type MessageType

Severity of the toast.

title string

Toast title.

text string

Toast text.

duration int?

Delay in milliseconds before automatically closing the toast.

dismissible bool

Indicates whether the toast can be closed manually.

buttons ToastButton[]

Buttons to display in the toast.