InkCanvas.SetRight(UIElement, Double) Metoda

Definicja

Ustawia wartość dołączonej Right właściwości dla danego obiektu zależności.

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

Parametry

element
UIElement

Element, na którym ma być ustawiona właściwa właściwość.

length
Double

Prawa współrzędna .element

Przykłady

W poniższym przykładzie pokazano, jak ustawić położenie obiektu Button.

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

Dotyczy