InkCanvas.MoveEnabled Property

Gets or sets whether the user is enabled to move selected ink strokes and/or elements on the InkCanvas.

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

Public Property MoveEnabled As Boolean
Dim instance As InkCanvas
Dim value As Boolean

value = instance.MoveEnabled

instance.MoveEnabled = value
/** @property */
public boolean get_MoveEnabled ()

/** @property */
public void set_MoveEnabled (boolean value)

public function get MoveEnabled () : boolean

public function set MoveEnabled (value : boolean)

<object MoveEnabled="bool" .../>

Property Value

true if a user can move strokes and/or elements on the InkCanvas; otherwise, false.

If this property is set to true, an adorner border is drawn around ink strokes and/or elements when they are selected. This border enables the user to move the selected objects. If ResizeEnabled is true, the adorner enables the user to resize the strokes and/or elements as well.

If this property is set to false while one or more ink strokes and/or elements are selected, the adorner border will be automatically removed from the selected objects.

The following example prevents a user from moving and resizing the elements and strokes on a InkCanvas.

inkCanvas1.ResizeEnabled = False
inkCanvas1.MoveEnabled = False

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.

.NET Framework

Supported in: 3.0