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)
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)
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
Returns
Implements
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應