Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Silverlight 3
Canvas Class
Canvas Methods
 SetLeft Method

  Switch on low bandwidth view
This page is specific to
Microsoft Silverlight 3

Other versions are also available for the following:
.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)
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.

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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker