Note: This document is auto-generated by
scripts/generate_control_reference_docs.py. Do not edit manually.
Avalonia.Controls.Notifications.NotificationCardAvalonia.Controls.NotificationsAvalonia.Controlssrc/Avalonia.Controls/Notifications/NotificationCard.csContentControlcontrolpublic NotificationCard() {public bool IsClosing {public static readonly DirectProperty<NotificationCard, bool> IsClosingProperty = AvaloniaProperty.RegisterDirect<NotificationCard, bool>(nameof(IsClosing), o => o.IsClosing);public bool IsClosed {public static readonly StyledProperty<bool> IsClosedProperty = AvaloniaProperty.Register<NotificationCard, bool>(nameof(IsClosed));public NotificationType NotificationType {public static readonly StyledProperty<NotificationType> NotificationTypeProperty = AvaloniaProperty.Register<NotificationCard, NotificationType>(nameof(NotificationType));public static readonly RoutedEvent<RoutedEventArgs> NotificationClosedEvent = RoutedEvent.Register<NotificationCard, RoutedEventArgs>(nameof(NotificationClosed), RoutingStrategies.Bubble);public event EventHandler<RoutedEventArgs>? NotificationClosed {public static bool GetCloseOnClick(Button obj) {public static void SetCloseOnClick(Button obj, bool value) {public static readonly AttachedProperty<bool> CloseOnClickProperty = AvaloniaProperty.RegisterAttached<NotificationCard, Button, bool>("CloseOnClick", defaultValue: false);public void Close() {<NotificationCard x:Name="SampleNotificationCard" />
using Avalonia.Controls.Notifications;
var control = new NotificationCard();