//
namespace TestNs
{
partial class MyControl
{
#nullable enable annotations
///
/// Defines the property.
///
public static readonly global::Avalonia.DirectProperty TextProperty =
global::Avalonia.AvaloniaProperty.RegisterDirect(nameof(Text), static o => o.Text, static (o, v) => o.Text = v);
private string? _text;
public partial string? Text
{
get => _text;
set => SetAndRaise(TextProperty, ref _text, value);
}
#nullable restore annotations
}
}