feat: add Content Attribute.

This commit is contained in:
Zhang Dian
2024-09-11 21:30:15 +08:00
parent 62a277cc16
commit 70d0f236d6
4 changed files with 10 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Avalonia.Controls.Notifications;
using Avalonia.Metadata;
namespace Ursa.Controls;
@@ -66,6 +67,7 @@ public class Notification : INotification, INotifyPropertyChanged
}
/// <inheritdoc/>
[Content]
public string? Content
{
get => _content;