Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct docs for Grid ColumnSpacing/RowSpacing #15425

Merged
merged 1 commit into from
Jun 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions src/Controls/docs/Microsoft.Maui.Controls/Grid.xml
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,8 @@ namespace FormsGallery
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Provides the interface for the bound property that gets or sets the distance between columns in the Grid.</summary>
<value>The space between columns in this <see cref="T:Microsoft.Maui.Controls.Grid" /> layout. The default is 6.</value>
<remarks>
<para>The <see cref="P:Microsoft.Maui.Controls.Grid.ColumnSpacing" /> property does not control spacing on the left and right edges of the <see cref="T:Microsoft.Maui.Controls.Grid" /> layout. Application developers can control the spacing around the outside of the <see cref="T:Microsoft.Maui.Controls.Grid" /> layout by setting the <see cref="P:Microsoft.Maui.Controls.Page.Padding" /> property of the visual element to which it belongs.</para>
</remarks>
<summary>Gets or sets the amount of space between columns in the Grid. This is a bindable property.</summary>
<value>The space between columns in this <see cref="T:Microsoft.Maui.Controls.Grid" /> layout. The default is 0.</value>
</Docs>
</Member>
<Member MemberName="ColumnSpacingProperty">
Expand Down Expand Up @@ -868,11 +865,8 @@ namespace FormsGallery
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the amount of space left between rows in the Grid. This is a bindable property.</summary>
<value>The space between rows</value>
<remarks>
<para>The <see cref="P:Microsoft.Maui.Controls.Grid.RowSpacing" /> property does not control spacing on the top and bottom edges of the <see cref="T:Microsoft.Maui.Controls.Grid" /> layout. Application developers can control the spacing around the outside of the <see cref="T:Microsoft.Maui.Controls.Grid" /> layout by setting the <see cref="P:Microsoft.Maui.Controls.Page.Padding" /> property of the visual element to which it belongs.</para>
</remarks>
<summary>Gets or sets the amount of space between rows in the Grid. This is a bindable property.</summary>
<value>The space between rows in this <see cref="T:Microsoft.Maui.Controls.Grid" /> layout. The default is 0.</value>
</Docs>
</Member>
<Member MemberName="RowSpacingProperty">
Expand Down