Browse Source

Fixed doc comments.

pull/1544/head
Steven Kirk 9 years ago
parent
commit
cb39aa0426
  1. 7
      src/Avalonia.Controls/Primitives/AccessText.cs
  2. 2
      src/Avalonia.Controls/TextBlock.cs

7
src/Avalonia.Controls/Primitives/AccessText.cs

@ -78,12 +78,7 @@ namespace Avalonia.Controls.Primitives
} }
} }
/// <summary> /// <inheritdoc/>
/// Creates the <see cref="FormattedText"/> used to render the text.
/// </summary>
/// <param name="constraint">The constraint of the text.</param>
/// <param name="text">The text to generated the <see cref="FormattedText"/> for.</param>
/// <returns>A <see cref="FormattedText"/> object.</returns>
protected override FormattedText CreateFormattedText(Size constraint, string text) protected override FormattedText CreateFormattedText(Size constraint, string text)
{ {
return base.CreateFormattedText(constraint, StripAccessKey(text)); return base.CreateFormattedText(constraint, StripAccessKey(text));

2
src/Avalonia.Controls/TextBlock.cs

@ -348,7 +348,7 @@ namespace Avalonia.Controls
/// Creates the <see cref="FormattedText"/> used to render the text. /// Creates the <see cref="FormattedText"/> used to render the text.
/// </summary> /// </summary>
/// <param name="constraint">The constraint of the text.</param> /// <param name="constraint">The constraint of the text.</param>
/// <param name="text">The text to generated the <see cref="FormattedText"/> for.</param> /// <param name="text">The text to format.</param>
/// <returns>A <see cref="FormattedText"/> object.</returns> /// <returns>A <see cref="FormattedText"/> object.</returns>
protected virtual FormattedText CreateFormattedText(Size constraint, string text) protected virtual FormattedText CreateFormattedText(Size constraint, string text)
{ {

Loading…
Cancel
Save