Grid.SetRow(UIElement, Int32) 方法

定义

Row 附加属性的值设置为给定的 UIElementSets the value of the Row attached property to a given UIElement.

public:
 static void SetRow(System::Windows::UIElement ^ element, int value);
public static void SetRow (System.Windows.UIElement element, int value);
static member SetRow : System.Windows.UIElement * int -> unit
Public Shared Sub SetRow (element As UIElement, value As Integer)

参数

element
UIElement

要在其上设置附加属性的元素。The element on which to set the attached property.

value
Int32

要设置的属性值。The property value to set.

适用于

另请参阅