We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e02fdfb + 495e2bb commit a18ad58Copy full SHA for a18ad58
src/Avalonia.Controls/Documents/Inline.cs
@@ -10,10 +10,11 @@ namespace Avalonia.Controls.Documents
10
/// </summary>
11
public abstract class Inline : TextElement
12
{
13
+ // TODO12: change the field type to an AttachedProperty for consistency (breaking change)
14
/// <summary>
15
/// AvaloniaProperty for <see cref="TextDecorations" /> property.
16
- public static readonly AttachedProperty<TextDecorationCollection?> TextDecorationsProperty =
17
+ public static readonly StyledProperty<TextDecorationCollection?> TextDecorationsProperty =
18
AvaloniaProperty.RegisterAttached<Inline, Inline, TextDecorationCollection?>(
19
nameof(TextDecorations),
20
inherits: true);
0 commit comments