Grid.GetRowSpan Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetRowSpan(BindableObject) |
Gets the row span of the |
GetRowSpan(IView) |
GetRowSpan(BindableObject)
- Source:
- Grid.cs
- Source:
- Grid.cs
Gets the row span of the bindable
child element.
public:
static int GetRowSpan(Microsoft::Maui::Controls::BindableObject ^ bindable);
public static int GetRowSpan (Microsoft.Maui.Controls.BindableObject bindable);
static member GetRowSpan : Microsoft.Maui.Controls.BindableObject -> int
Public Shared Function GetRowSpan (bindable As BindableObject) As Integer
Parameters
- bindable
- BindableObject
An element that belongs to the Grid layout.
Returns
The row that the child element is in.
Remarks
The GetRowSpan(BindableObject) method corresponds to the following XAML attached properties:
Attached Property | Value |
---|---|
RowSpan | An integer that represents the number of rows that the item will span. |
The remarks for the SetRowSpan(BindableObject, Int32) method contain syntax for and information about the RowSpan
attached property.
Applies to
GetRowSpan(IView)
- Source:
- Grid.cs
- Source:
- Grid.cs
public:
virtual int GetRowSpan(Microsoft::Maui::IView ^ view);
public int GetRowSpan (Microsoft.Maui.IView view);
abstract member GetRowSpan : Microsoft.Maui.IView -> int
override this.GetRowSpan : Microsoft.Maui.IView -> int
Public Function GetRowSpan (view As IView) As Integer
Parameters
- view
- IView