InkEdit.InkMode - свойство
Обновлен: Ноябрь 2007
Gets or sets a value from the InkMode enumeration type that indicates whether the InkEdit control collects ink, gesture, or both.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
<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);
}
/** @property */
/** @attribute BrowsableAttribute(true) */
public InkMode get_InkMode()
/** @property */
/** @attribute BrowsableAttribute(true) */
public void set_InkMode(InkMode value)
public function get InkMode () : InkMode
public function set InkMode (value : InkMode)
Значение свойства
Тип: Microsoft.Ink.InkMode
An InkMode value indicating whether the InkEdit control collects ink, gesture, or both.
Заметки
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 Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0