Canvas::Left Attached Property

Gets or sets a value that represents the distance between the left side of an element and the left side of its parent Canvas.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

See GetLeft, SetLeft
<object Canvas.Left="double" .../>

Property Value

Type: System::Double
A Double that represents the offset position from the left side of a parent Canvas. The default value is NaN.

Identifier field

LeftProperty

Metadata properties set to true

None

The Left offset of a child element does not affect the size of a parent Canvas.

If you specify them, the attached properties Canvas::Top or Canvas::Left take priority over Canvas::Bottom or Canvas::Right properties.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft