RectHelper.GetLeft method

Applies to Windows and Windows Phone

Gets a "Left" value for the specified Rect. So long as Width is positive, "Left" is evaluated as X. C# and Microsoft Visual Basic code should use Left instead.

Syntax


public:
static float GetLeft(
  Rect target
)

Parameters

target

Type: Rect

The Rect to evaluate.

Return value

Type: System.Single [.NET] | float32 [C++]

The evaluated "Left" value.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

RectHelper

 

 

Show:
© 2014 Microsoft