編輯

共用方式為


InkCanvas.SetBottom(UIElement, Double) Method

Definition

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

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

Parameters

element
UIElement

The element on which to set the bottom property.

length
Double

The bottom coordinate of element.

Examples

The following example demonstrates how to set the position of a Button.

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

Applies to