using CommunityToolkit.Mvvm.ComponentModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WpfMvvmChart1.ViewModels { public partial class MainWindowViewModel : ObservableObject { [ObservableProperty] string message = "Hello"; } }