ColumnSpan is a .NET MAUI Grid property that makes a child view occupy multiple adjacent columns. The view still starts in its assigned Grid.Column, while ColumnSpan specifies how many columns it covers. section 5.1.2
Use ColumnSpan when a view should extend across a designed grid area:
- Assign the starting position with Grid.Column. section 5.1.2
- Set ColumnSpan to the number of columns the view should occupy. section 5.1.2
- Use RowSpan for the equivalent behavior across multiple vertical rows. section 5.1.2
Calculator display spanning four columns
A calculator Grid has four columns. Place its display in the first column and set Grid.ColumnSpan="4" so the display stretches across the complete top row: <Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="4" x:Name="LCD" />. section 5.1.2
