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
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기