From 495e2bb97385f0c18d396e62b745919b0c561ca9 Mon Sep 17 00:00:00 2001 From: Julien Lebosquain Date: Wed, 23 Aug 2023 00:23:37 +0200 Subject: [PATCH] Revert Inline breaking change --- src/Avalonia.Controls/Documents/Inline.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Avalonia.Controls/Documents/Inline.cs b/src/Avalonia.Controls/Documents/Inline.cs index a6fe57e66e9..7de3ce9d981 100644 --- a/src/Avalonia.Controls/Documents/Inline.cs +++ b/src/Avalonia.Controls/Documents/Inline.cs @@ -10,10 +10,11 @@ namespace Avalonia.Controls.Documents /// public abstract class Inline : TextElement { + // TODO12: change the field type to an AttachedProperty for consistency (breaking change) /// /// AvaloniaProperty for property. /// - public static readonly AttachedProperty TextDecorationsProperty = + public static readonly StyledProperty TextDecorationsProperty = AvaloniaProperty.RegisterAttached( nameof(TextDecorations), inherits: true);