Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.Notifications.WindowNotificationManagerAvalonia.Controls.NotificationsAvalonia.Controlssrc/Avalonia.Controls/Notifications/WindowNotificationManager.csIManagedNotificationManager, TemplatedControlcontrolpublic static readonly StyledProperty<NotificationPosition> PositionProperty = AvaloniaProperty.Register<WindowNotificationManager, NotificationPosition>(nameof(Position), NotificationPosition.TopRight);public NotificationPosition Position {public static readonly StyledProperty<int> MaxItemsProperty = AvaloniaProperty.Register<WindowNotificationManager, int>(nameof(MaxItems), 5);public int MaxItems {public WindowNotificationManager(TopLevel? host) : this() {public WindowNotificationManager() {public void Show(INotification content) {public void Show(object content) {public void Show(object content, NotificationType type, TimeSpan? expiration = null, Action? onClick = null, Action? onClose = null, string[]? classes = null) {public void Close(INotification notification) => Close(notification as object);public void Close(object content) {public void CloseAll() {<WindowNotificationManager x:Name="SampleWindowNotificationManager" />
using Avalonia.Controls.Notifications;
var control = new WindowNotificationManager();