From dbd61858401c8424e4040d0d8b39ea691ebff701 Mon Sep 17 00:00:00 2001 From: Max Katz Date: Wed, 23 Aug 2023 01:28:57 +0000 Subject: [PATCH] Merge pull request #12638 from MrJul/fix/inline-breaking-change 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 a6fe57e66e..7de3ce9d98 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);