Canvas.SetLeft(UIElement, Double) 方法

定義

設定所指定相依性物件的 Left 附加屬性值。

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

參數

element
UIElement

要寫入屬性值的項目。

length
Double

設定指定項目的 Left 座標。

適用於

另請參閱