Canvas.Left Attached Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

See GetLeft, SetLeft

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.

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.

Identifier field

LeftProperty

Metadata properties set to true

None

Return to top
Show: