A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
692 B

// <auto-generated />
namespace TestNs
{
partial class MyControl
{
#nullable enable annotations
/// <summary>
/// Defines the <see cref="Text"/> property.
/// </summary>
public static readonly global::Avalonia.DirectProperty<global::TestNs.MyControl, string?> TextProperty =
global::Avalonia.AvaloniaProperty.RegisterDirect<global::TestNs.MyControl, string?>(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
}
}