GridExtensions.AddWithSpan(Grid, IView, Int32, Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static void AddWithSpan (this Microsoft.Maui.Controls.Grid grid, Microsoft.Maui.IView view, int row = 0, int column = 0, int rowSpan = 1, int columnSpan = 1);
static member AddWithSpan : Microsoft.Maui.Controls.Grid * Microsoft.Maui.IView * int * int * int * int -> unit
<Extension()>
Public Sub AddWithSpan (grid As Grid, view As IView, Optional row As Integer = 0, Optional column As Integer = 0, Optional rowSpan As Integer = 1, Optional columnSpan As Integer = 1)
Parameters
Exceptions
Thrown when view
is null.
Thrown when row
or column
are less than 0, or rowSpan
or columnSpan
are less than 1.
Remarks
If the Grid does not have enough rows/columns to encompass the specified spans, they will be added.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.