Canvas.GetLeft(UIElement) Canvas.GetLeft(UIElement) Canvas.GetLeft(UIElement) Canvas.GetLeft(UIElement) Method

定義

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

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

パラメーター

element
UIElement UIElement UIElement UIElement

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

戻り値

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

適用対象

こちらもご覧ください