Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that indicates the total number of rows that child content spans within a Grid.

<object Grid.RowSpan="integer"  .../>
value = object["Grid.RowSpan"]
object["Grid.RowSpan"] = value

Property Value

Type: integer

A value that represents the number of rows to span, when the object is positioned where Grid.RowSpan is applied as an attached property.

This property is read/write. The default value is 1.

Managed Equivalent



Grid.RowSpan is an attached property.

Applies To


Version Information

Silverlight 2