I created a class with CommunityToolkit.Mvvm package and use ObservableProperty to create properties for this class. But the PropertyGrid control does not recognize properties created in this way. Are there any way PropertyGrid can support ObservableProperty?
using CommunityToolkit.Mvvm.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Test
{
public partial class DrawingModel : ObservableObject
{
public string Name { get; set; }
[ObservableProperty]
public double _length;
[ObservableProperty]
public double _width;
[ObservableProperty]
public double _height;
}
}