Skip to main content

INotificationManager Interface

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Represents a notification manager that can be used to show notifications in a window or using the host operating system.

public interface INotificationManager

Methods

NameDescription
CloseCloses a notification.
CloseAllCloses all notifications.
ShowShow a notification.

Close Method

Closes a notification.

public void Close(Avalonia.Controls.Notifications.INotification notification)

Parameters

notification Avalonia.Controls.Notifications.INotification

The notification to be closed.

CloseAll Method

Closes all notifications.

public void CloseAll()

Show Method

Show a notification.

public void Show(Avalonia.Controls.Notifications.INotification notification)

Parameters

notification Avalonia.Controls.Notifications.INotification

The notification to be displayed.