This documentation is archived and is not being maintained.

InkCanvas.Right Attached Property

Gets or sets the distance between the right side of an element and the right side of its parent InkCanvas .

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in PresentationFramework.dll)
XML Namespace:

See InkCanvas.GetRight, InkCanvas.SetRight
See InkCanvas.GetRight, InkCanvas.SetRight
See InkCanvas.GetRight, InkCanvas.SetRight
<object InkCanvas.Right="double" .../>

Identifier Field


Metadata Flags


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>

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.