RectHelper.GetTop(Rect) Method
Definition
Gets a "Top" value for the specified Rect. So long as Height is positive, "Top" is evaluated as Y. C# and Microsoft Visual Basic code should use Rect.Top instead.
Equivalent WinUI method: Microsoft.UI.Xaml.RectHelper.GetTop.
public:
static float GetTop(Rect target);
static float GetTop(Rect target);
public static float GetTop(Rect target);
function getTop(target)
Public Shared Function GetTop (target As Rect) As Single
Parameters
Returns
The evaluated "Top" value.