Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
This topic has not yet been rated - Rate this topic

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:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

'Declaration
Public Property MoveEnabled As Boolean
'Usage
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.