Skip to content

Commit a18ad58

Browse files
authored
Merge pull request #12638 from MrJul/fix/inline-breaking-change
Revert Inline breaking change
2 parents e02fdfb + 495e2bb commit a18ad58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Avalonia.Controls/Documents/Inline.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ namespace Avalonia.Controls.Documents
1010
/// </summary>
1111
public abstract class Inline : TextElement
1212
{
13+
// TODO12: change the field type to an AttachedProperty for consistency (breaking change)
1314
/// <summary>
1415
/// AvaloniaProperty for <see cref="TextDecorations" /> property.
1516
/// </summary>
16-
public static readonly AttachedProperty<TextDecorationCollection?> TextDecorationsProperty =
17+
public static readonly StyledProperty<TextDecorationCollection?> TextDecorationsProperty =
1718
AvaloniaProperty.RegisterAttached<Inline, Inline, TextDecorationCollection?>(
1819
nameof(TextDecorations),
1920
inherits: true);

0 commit comments

Comments
 (0)