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
optionsNavigationOptionsNavigation options.
Returns
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
typeMessageTypeSeverity of the toast.
titlestringToast title.
textstringToast text.
durationint?Delay in milliseconds before automatically closing the toast.
dismissibleboolIndicates whether the toast can be closed manually.
buttonsToastButton[]Buttons to display in the toast.