InkCanvas.SetLeft(UIElement, Double) Metodo

Definizione

Imposta il valore della proprietà associata Left per un oggetto dipendenza specificato.

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)

Parametri

element
UIElement

L'elemento sul quale impostare la proprietà sinistra.

length
Double

La coordinata sinistra di element.

Esempio

Nell'esempio seguente viene illustrato come impostare la posizione di un Buttonoggetto .

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

Si applica a