Gets or sets a value from the InkMode enumeration type that indicates whether the InkEdit control collects ink, gesture, or both.
<BrowsableAttribute(True)> _ Public Property InkMode As InkMode
Dim instance As InkEdit Dim value As InkMode value = instance.InkMode instance.InkMode = value
[BrowsableAttribute(true)] public InkMode InkMode { get; set; }
[BrowsableAttribute(true)] public: property InkMode InkMode { InkMode get (); void set (InkMode value); }
public function get InkMode () : InkMode public function set InkMode (value : InkMode)
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.
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; }
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008