InkCanvas.SetLeft(UIElement, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 on which to set the left property.
- length
- Double
The left coordinate of element
.
Examples
The following example demonstrates how to set the position of a Button.
InkCanvas.SetLeft(button1, 100);
InkCanvas.SetLeft(button1, 100)
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.