Editar

Compartilhar via


Canvas.SetLeft(UIElement, Double) Method

Definition

Sets the value of the Left attached property for a given dependency object.

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)

Parameters

element
UIElement

The element to which the property value is written.

length
Double

Sets the Left coordinate of the specified element.

Applies to

See also