FixedPage.GetRight(UIElement) 메서드

정의

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

public:
 static double GetRight(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 GetRight (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 GetRight (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 GetRight : 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 GetRight : System.Windows.UIElement -> double
Public Shared Function GetRight (element As UIElement) As Double

매개 변수

element
UIElement

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

반환

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

특성

설명

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

적용 대상

추가 정보