InkCanvas.SetLeft(UIElement, Double) Método

Definição

Define o valor da Left propriedade anexada para um dado objeto de dependência.

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)

Parâmetros

element
UIElement

O elemento sobre o qual definir a propriedade à esquerda.

length
Double

A coordenada esquerda de element.

Exemplos

O exemplo seguinte demonstra como definir a posição de um Button.

InkCanvas.SetLeft(button1, 100);
InkCanvas.SetLeft(button1, 100)

Aplica-se a