Canvas.SetTop(UIElement, Double) Canvas.SetTop(UIElement, Double) Canvas.SetTop(UIElement, Double) Canvas.SetTop(UIElement, Double) Method

정의

지정된 종속성 개체에 연결된 Top 속성 값을 설정합니다.Sets the value of the Top attached property for a given dependency object.

public:
 static void SetTop(System::Windows::UIElement ^ element, double length);
public static void SetTop (System.Windows.UIElement element, double length);
static member SetTop : System.Windows.UIElement * double -> unit
Public Shared Sub SetTop (element As UIElement, length As Double)

매개 변수

element
UIElement UIElement UIElement UIElement

속성 값을 쓸 요소입니다.The element to which the property value is written.

length
Double Double Double Double

지정된 요소의 Top 좌표를 설정합니다.Sets the Top coordinate of the specified element.

적용 대상

추가 정보