Skip to content

Commit

Permalink
Typo on TextBlock.cs comments (#13255)
Browse files Browse the repository at this point in the history
"FontWeight" is actually "FontStretch"
  • Loading branch information
alessandrofrancesconi authored Oct 16, 2023
1 parent b3ff3ab commit a581dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Controls/TextBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class TextBlock : Control, IInlineHost
TextElement.FontWeightProperty.AddOwner<TextBlock>();

/// <summary>
/// Defines the <see cref="FontWeight"/> property.
/// Defines the <see cref="FontStretch"/> property.
/// </summary>
public static readonly StyledProperty<FontStretch> FontStretchProperty =
TextElement.FontStretchProperty.AddOwner<TextBlock>();
Expand Down

0 comments on commit a581dc3

Please sign in to comment.