Browse Source

Merge pull request #12638 from MrJul/fix/inline-breaking-change

Revert Inline breaking change
release/11.0.5-rc1
Max Katz 3 years ago
committed by Steven Kirk
parent
commit
dbd6185840
  1. 3
      src/Avalonia.Controls/Documents/Inline.cs

3
src/Avalonia.Controls/Documents/Inline.cs

@ -10,10 +10,11 @@ namespace Avalonia.Controls.Documents
/// </summary>
public abstract class Inline : TextElement
{
// TODO12: change the field type to an AttachedProperty for consistency (breaking change)
/// <summary>
/// AvaloniaProperty for <see cref="TextDecorations" /> property.
/// </summary>
public static readonly AttachedProperty<TextDecorationCollection?> TextDecorationsProperty =
public static readonly StyledProperty<TextDecorationCollection?> TextDecorationsProperty =
AvaloniaProperty.RegisterAttached<Inline, Inline, TextDecorationCollection?>(
nameof(TextDecorations),
inherits: true);

Loading…
Cancel
Save