Grid.GetRow 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
GetRow(BindableObject) |
Gets the row of the |
GetRow(IView) |
GetRow(BindableObject)
Gets the row of the bindable
child element.
public:
static int GetRow(Microsoft::Maui::Controls::BindableObject ^ bindable);
public static int GetRow (Microsoft.Maui.Controls.BindableObject bindable);
static member GetRow : Microsoft.Maui.Controls.BindableObject -> int
Public Shared Function GetRow (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 GetRow(BindableObject) method corresponds to the following XAML attached property:
Attached Property | Value |
---|---|
Row | An integer that represents the row in which the item will appear. |
The remarks for the SetRow(BindableObject, Int32) method contain syntax for and information about the Row
attached property.
Applies to
GetRow(IView)
public:
virtual int GetRow(Microsoft::Maui::IView ^ view);
public int GetRow (Microsoft.Maui.IView view);
abstract member GetRow : Microsoft.Maui.IView -> int
override this.GetRow : Microsoft.Maui.IView -> int
Public Function GetRow (view As IView) As Integer
Parameters
- view
- IView
Returns
Implements
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈