InkCanvas.GetRight(UIElement) 메서드

정의

지정된 종속성 개체에 대한 Right 연결된 속성의 값을 설정합니다.

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

Right 속성을 가져올 요소입니다.

반환

Double

종속성 개체의 오른쪽 좌표입니다.

특성

예제

다음 예제에서는 의 위치를 Button가져오는 방법을 보여 줍니다.

double buttonRight = InkCanvas.GetRight(button1);
Dim buttonRight As Double = InkCanvas.GetRight(button1)

적용 대상