// namespace TestNs { partial class MyControl { #nullable enable annotations /// /// Defines the property. /// public static readonly global::Avalonia.StyledProperty WidthProperty = global::Avalonia.AvaloniaProperty.Register(nameof(Width), defaultValue: (double)(100)); public partial double Width { get => GetValue(WidthProperty); set => SetValue(WidthProperty, value); } #nullable restore annotations #nullable enable annotations /// /// Defines the property. /// public static readonly global::Avalonia.StyledProperty HeightProperty = global::Avalonia.AvaloniaProperty.Register(nameof(Height), defaultValue: double.NaN); public partial double Height { get => GetValue(HeightProperty); set => SetValue(HeightProperty, value); } #nullable restore annotations #nullable enable annotations /// /// Defines the property. /// public static readonly global::Avalonia.StyledProperty TagProperty = global::Avalonia.AvaloniaProperty.Register(nameof(Tag), defaultValue: (object?)("")); public partial object? Tag { get => GetValue(TagProperty); set => SetValue(TagProperty, value); } #nullable restore annotations } }