InkEdit.Status Property

Gets a value that indicates whether the InkEdit control is idle, collecting ink, or recognizing ink.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Status As InkEditStatus
'Usage
Dim instance As InkEdit 
Dim value As InkEditStatus 

value = instance.Status
[BrowsableAttribute(false)]
public InkEditStatus Status { get; }
[BrowsableAttribute(false)]
public:
property InkEditStatus Status {
    InkEditStatus get ();
}
public function get Status () : InkEditStatus

Property Value

Type: Microsoft.Ink.InkEditStatus
A InkEditStatus value indicating whether the InkEdit control is idle, collecting ink, or recognizing ink.

Remarks

This property is available at run time only.

Examples

In this example, a check is made to see if the Status property is currently set to Idle. If so, the InkEdit control is set to collect both ink and gestures.

If InkEditStatus.Idle = mInkEdit.Status Then
    mInkEdit.InkMode = InkMode.InkAndGesture
End If
if (InkEditStatus.Idle == mInkEdit.Status)
{
    mInkEdit.InkMode = InkMode.InkAndGesture;
}

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkEdit Class

InkEdit Members

Microsoft.Ink Namespace

InkEditStatus