Skip to content

Commit d82553b

Browse files
authored
Fixes #4070 - GetContentSize() API docs -2nd try (#4082)
* Fixed api docs again
1 parent 73b5c0b commit d82553b

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

Terminal.Gui/View/View.Content.cs

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,22 @@ public partial class View
1414
/// </summary>
1515
/// <remarks>
1616
/// <para>
17-
/// See the View Layout Deep Dive for more information: <see href="https://gui-cs.github.io/Terminal.GuiV2Docs/docs/layout.html"/>
17+
/// See the View Layout Deep Dive for more information:
18+
/// <see href="https://gui-cs.github.io/Terminal.GuiV2Docs/docs/layout.html"/>
1819
/// </para>
1920
/// <para>
2021
/// Negative sizes are not supported.
2122
/// </para>
2223
/// <para>
23-
/// If not explicitly set, and the View has no visible subviews, <see cref="GetContentSize ()"/> will return the
24-
/// size of
25-
/// <see cref="Viewport"/>.
26-
/// </para>
27-
/// <para>
28-
/// If not explicitly set, and the View has visible subviews, <see cref="GetContentSize ()"/> will return the
29-
/// maximum
30-
/// position + dimension of the SubViews, supporting <see cref="Dim.Auto"/> with the
31-
/// <see cref="DimAutoStyle.Content"/> flag set.
24+
/// If not explicitly set to a non-<see langword="null"/> value, and the View has Subviews,
25+
/// <see cref="GetContentSize ()"/> will return
26+
/// the size of the <see cref="Viewport"/>.
3227
/// </para>
3328
/// <para>
34-
/// If set <see cref="Viewport"/> describes the portion of the content currently visible to the user. This enables
35-
/// virtual scrolling.
36-
/// </para>
37-
/// <para>
38-
/// If set the behavior of <see cref="DimAutoStyle.Content"/> will be to use the ContentSize to determine the size
29+
/// If set to a non-<see langword="null"/> value, <see cref="Viewport"/> describes the portion of the content
30+
/// currently visible to the user. This enables
31+
/// virtual scrolling and the behavior of <see cref="DimAutoStyle.Content"/> will be to use
32+
/// <see cref="GetContentSize ()"/> to determine the size
3933
/// of the view.
4034
/// </para>
4135
/// </remarks>

0 commit comments

Comments
 (0)