FixedPage.GetLeft(UIElement) 메서드

정의

요소의 왼쪽과 부모 Canvas의 왼쪽 사이의 거리를 반환합니다.

public:
 static double GetLeft(System::Windows::UIElement ^ element);
[System.ComponentModel.TypeConverter("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")]
[System.Windows.AttachedPropertyBrowsableForChildren]
public static double GetLeft (System.Windows.UIElement element);
[System.Windows.AttachedPropertyBrowsableForChildren]
[System.ComponentModel.TypeConverter("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")]
public static double GetLeft (System.Windows.UIElement element);
[<System.ComponentModel.TypeConverter("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")>]
[<System.Windows.AttachedPropertyBrowsableForChildren>]
static member GetLeft : System.Windows.UIElement -> double
[<System.Windows.AttachedPropertyBrowsableForChildren>]
[<System.ComponentModel.TypeConverter("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null")>]
static member GetLeft : System.Windows.UIElement -> double
Public Shared Function GetLeft (element As UIElement) As Double

매개 변수

element
UIElement

왼쪽 오프셋을 가져올 요소입니다.

반환

요소의 오른쪽과 부모 캔버스의 오른쪽 사이의 거리입니다.

특성

설명

왼쪽 오프셋이 설정되지 않은 경우 를 GetRight 반환합니다 NaN.

적용 대상

추가 정보