Sdílet prostřednictvím


Grid.Row

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

Gets or sets a value that indicates the row in which child content within a Grid object should appear.

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

Property Value

Type: integer

An integer that specifies which row in a Grid instance (by zero-based index) should render the object where Grid.Row is applied as an attached property.

This property is read/write. The default is 0.

Managed Equivalent

Grid.Row

Remarks

Grid.Row is an attached property.

Applies To

UIElement

Version Information

Silverlight 2