InkCanvas.Left Attached Property
.NET Framework 3.5
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, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.