// namespace TestNs { partial class MyControl { #nullable enable annotations /// /// Defines the property. /// public static readonly global::Avalonia.StyledProperty ValueProperty = global::TestNs.RangeBase.ValueProperty.AddOwner(new global::Avalonia.StyledPropertyMetadata(defaultValue: 1.0, coerce: CoerceValue, enableDataValidation: true)); public new partial double Value { get => GetValue(ValueProperty); set => SetValue(ValueProperty, value); } #nullable restore annotations } }