Skip to main content

OnClick Property

Gets an Action to be run when the notification is clicked.

Definition​

Namespace: Avalonia.Controls.Notifications
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public Action? OnClick { get; set; }

Property Value​

Action

Implements​

INotification.OnClick

See Also​

Reference​

Notification Class
Avalonia.Controls.Notifications Namespace