InkCanvas.Left Attached Property
.NET Framework 4
Gets or sets the distance between the left side of an element and the left side of its parent InkCanvas.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
<object InkCanvas.Left="double"/> - or – <object InkCanvas.Left="qualifiedDouble"/>
XAML Values
Property Value
Type: System.DoubleThe distance between the left side of an element and the left side of its parent InkCanvas, in device-independent units (1/96th inch per unit).
The following example demonstrates how to set the position of a Label on an InkCanvas.
<InkCanvas Name="inkCanvas2" Width="200" Height="200" Background="Green"> <Label Name="label1" Background="Black" Foreground="White" InkCanvas.Left="50" InkCanvas.Right="100" InkCanvas.Top="50" InkCanvas.Bottom="100">my label</Label> </InkCanvas>
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.