// namespace TestNs { partial class MyPanel { #nullable disable annotations /// /// Defines the Label attached property. /// public static readonly global::Avalonia.AttachedProperty LabelProperty = global::Avalonia.AvaloniaProperty.RegisterAttached("Label"); public static partial string GetLabel(global::Avalonia.Visual element) => element.GetValue(LabelProperty); /// /// Sets the value of the attached property on the specified object. /// public static void SetLabel(global::Avalonia.Visual element, string value) => element.SetValue(LabelProperty, value); #nullable restore annotations } }