From cb39aa0426f6b076bdceb457dad2b1c7bb45a70a Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Tue, 15 May 2018 09:13:41 +0200 Subject: [PATCH] Fixed doc comments. --- src/Avalonia.Controls/Primitives/AccessText.cs | 7 +------ src/Avalonia.Controls/TextBlock.cs | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Avalonia.Controls/Primitives/AccessText.cs b/src/Avalonia.Controls/Primitives/AccessText.cs index 55f047b009..32a0efc440 100644 --- a/src/Avalonia.Controls/Primitives/AccessText.cs +++ b/src/Avalonia.Controls/Primitives/AccessText.cs @@ -78,12 +78,7 @@ namespace Avalonia.Controls.Primitives } } - /// - /// Creates the used to render the text. - /// - /// The constraint of the text. - /// The text to generated the for. - /// A object. + /// protected override FormattedText CreateFormattedText(Size constraint, string text) { return base.CreateFormattedText(constraint, StripAccessKey(text)); diff --git a/src/Avalonia.Controls/TextBlock.cs b/src/Avalonia.Controls/TextBlock.cs index 35600a213c..1fee309360 100644 --- a/src/Avalonia.Controls/TextBlock.cs +++ b/src/Avalonia.Controls/TextBlock.cs @@ -348,7 +348,7 @@ namespace Avalonia.Controls /// Creates the used to render the text. /// /// The constraint of the text. - /// The text to generated the for. + /// The text to format. /// A object. protected virtual FormattedText CreateFormattedText(Size constraint, string text) {