Compartir a través de


InkEdit.InkMode Property

Gets or sets a value from the InkMode enumeration type that indicates whether the InkEdit control collects ink, gesture, or both.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Property InkMode As InkMode
'Usage
Dim instance As InkEdit
Dim value As InkMode

value = instance.InkMode

instance.InkMode = value
public InkMode InkMode { get; set; }
public:
property InkMode InkMode {
    InkMode get ();
    void set (InkMode value);
}
/** @property */
public InkMode get_InkMode ()

/** @property */
public void set_InkMode (InkMode value)
public function get InkMode () : InkMode

public function set InkMode (value : InkMode)
Not applicable.

Property Value

A InkMode value indicating whether the InkEdit control collects ink, gesture, or both.

Remarks

The value of this property is always Disabled if it is used on a system that has the Microsoft Windows XP Tablet PC Edition SDK installed but where no recognizers are present. If used on a system that has Windows XP Tablet PC Edition, the value can be set to any of the values in the InkMode enumeration type.

This property should be changed only if the Status property returns the InkEditStatus enumeration value, Idle.

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkEdit Class
InkEdit Members
Microsoft.Ink Namespace
InkMode