From 515e180cdbcd9b6827e9a6c7847d4e8841575f91 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Mon, 14 May 2018 15:30:58 +0100 Subject: [PATCH] update documentation for CreateFormattedText method. --- src/Avalonia.Controls/Presenters/TextPresenter.cs | 6 ++++++ src/Avalonia.Controls/Primitives/AccessText.cs | 1 + 2 files changed, 7 insertions(+) diff --git a/src/Avalonia.Controls/Presenters/TextPresenter.cs b/src/Avalonia.Controls/Presenters/TextPresenter.cs index 4d63148b5f..c241466aea 100644 --- a/src/Avalonia.Controls/Presenters/TextPresenter.cs +++ b/src/Avalonia.Controls/Presenters/TextPresenter.cs @@ -211,6 +211,12 @@ namespace Avalonia.Controls.Presenters } } + /// + /// 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) { FormattedText result = null; diff --git a/src/Avalonia.Controls/Primitives/AccessText.cs b/src/Avalonia.Controls/Primitives/AccessText.cs index 5b0f79c9c8..55f047b009 100644 --- a/src/Avalonia.Controls/Primitives/AccessText.cs +++ b/src/Avalonia.Controls/Primitives/AccessText.cs @@ -82,6 +82,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) {