InkCanvas.SetTop(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 Top attached property for a given dependency object.
public:
static void SetTop(System::Windows::UIElement ^ element, double length);
public static void SetTop (System.Windows.UIElement element, double length);
static member SetTop : System.Windows.UIElement * double -> unit
Public Shared Sub SetTop (element As UIElement, length As Double)
Parameters
- element
- UIElement
The element on which to set the top property.
- length
- Double
The top coordinate of element
.
Examples
The following example demonstrates how to set the position of a Button.
InkCanvas.SetTop(button1, 100);
InkCanvas.SetTop(button1, 100)
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.