Compartilhar via


Grid.SetRowSpan Method

Definition

Overloads

SetRowSpan(IView, Int32)
SetRowSpan(BindableObject, Int32)

Changes the row span of the specified child element.

SetRowSpan(IView, Int32)

Source:
Grid.cs
Source:
Grid.cs
public:
 void SetRowSpan(Microsoft::Maui::IView ^ view, int span);
public void SetRowSpan (Microsoft.Maui.IView view, int span);
member this.SetRowSpan : Microsoft.Maui.IView * int -> unit
Public Sub SetRowSpan (view As IView, span As Integer)

Parameters

view
IView
span
Int32

Applies to

SetRowSpan(BindableObject, Int32)

Source:
Grid.cs
Source:
Grid.cs

Changes the row span of the specified child element.

public:
 static void SetRowSpan(Microsoft::Maui::Controls::BindableObject ^ bindable, int value);
public static void SetRowSpan (Microsoft.Maui.Controls.BindableObject bindable, int value);
static member SetRowSpan : Microsoft.Maui.Controls.BindableObject * int -> unit
Public Shared Sub SetRowSpan (bindable As BindableObject, value As Integer)

Parameters

bindable
BindableObject

A child element of this Grid on which to assign a new row span.

value
Int32

The new row span.

Remarks

The SetRowSpan(BindableObject, Int32) method corresponds to the following XAML attached property:

Attached PropertyValue
RowSpanAn integer that represents the number of rows that the item will span.

Applies to