Canvas.GetTop(UIElement) Canvas.GetTop(UIElement) Canvas.GetTop(UIElement) Canvas.GetTop(UIElement) Method

定義

指定された依存関係オブジェクトに対する Top 添付プロパティの値を取得します。Gets the value of the Top attached property for a given dependency object.

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

パラメーター

element
UIElement UIElement UIElement UIElement

プロパティ値の読み取り元の要素。The element from which the property value is read.

戻り値

指定した要素の Top 座標。The Top coordinate of the specified element.

適用対象

こちらもご覧ください