using Avalonia; using Avalonia.Controls; using Avalonia.Controls.Primitives; using Avalonia.Input; using Avalonia.Metadata; namespace Ursa.Controls; public class DisableContainer: TemplatedControl { public static readonly StyledProperty ContentProperty = AvaloniaProperty.Register( nameof(Content)); [Content] public InputElement? Content { get => GetValue(ContentProperty); set => SetValue(ContentProperty, value); } public static readonly StyledProperty DisabledTipProperty = AvaloniaProperty.Register( nameof(DisabledTip)); public object? DisabledTip { get => GetValue(DisabledTipProperty); set => SetValue(DisabledTipProperty, value); } }