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.

InkCanvas.ResizeEnabled Property

Gets or sets whether the user is enabled to resize 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

public bool ResizeEnabled { get; set; }
/** @property */
public boolean get_ResizeEnabled ()

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

public function get ResizeEnabled () : boolean

public function set ResizeEnabled (value : boolean)

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

Property Value

true if a user can resize 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 will enable the user to resize the selected objects. If MoveEnabled is true, the adorner will enable the user to move 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft