.NET Framework Class Library for Silverlight
Canvas..::.SetLeft Method

Sets the value of the Left attached property for a given object.

Namespace:  System.Windows.Controls
Assembly:  System.Windows (in System.Windows.dll)
Syntax

Visual Basic (Declaration)
Public Shared Sub SetLeft ( _
    element As UIElement, _
    length As Double _
)
Visual Basic (Usage)
Dim element As UIElement
Dim length As Double

Canvas.SetLeft(element, length)
C#
public static void SetLeft(
    UIElement element,
    double length
)

Parameters

element
Type: System.Windows..::.UIElement
The object to which the property value is written.
length
Type: System..::.Double
The Left value of the specified element.
Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

See Also

Reference

Tags :


Page view tracker