diff --git a/src/Ursa.Themes.Semi/Controls/Notification.axaml b/src/Ursa.Themes.Semi/Controls/Notification.axaml index c5943fc..4830cce 100644 --- a/src/Ursa.Themes.Semi/Controls/Notification.axaml +++ b/src/Ursa.Themes.Semi/Controls/Notification.axaml @@ -16,7 +16,9 @@ - + + Hello, Ursa! + diff --git a/src/Ursa.Themes.Semi/Controls/Toast.axaml b/src/Ursa.Themes.Semi/Controls/Toast.axaml index 1522196..34387f2 100644 --- a/src/Ursa.Themes.Semi/Controls/Toast.axaml +++ b/src/Ursa.Themes.Semi/Controls/Toast.axaml @@ -10,7 +10,9 @@ Hello, Ursa! - + + Hello, Ursa! + diff --git a/src/Ursa/Controls/Notification/Notification.cs b/src/Ursa/Controls/Notification/Notification.cs index e6cdd99..e3bb00c 100644 --- a/src/Ursa/Controls/Notification/Notification.cs +++ b/src/Ursa/Controls/Notification/Notification.cs @@ -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 } /// + [Content] public string? Content { get => _content; diff --git a/src/Ursa/Controls/Toast/Toast.cs b/src/Ursa/Controls/Toast/Toast.cs index a59233f..ede1d99 100644 --- a/src/Ursa/Controls/Toast/Toast.cs +++ b/src/Ursa/Controls/Toast/Toast.cs @@ -1,6 +1,7 @@ using System.ComponentModel; using System.Runtime.CompilerServices; using Avalonia.Controls.Notifications; +using Avalonia.Metadata; namespace Ursa.Controls; @@ -49,6 +50,7 @@ public class Toast : IToast, INotifyPropertyChanged } /// + [Content] public string? Content { get => _content;