InkEdit.UseMouseForInput - свойство
Обновлен: Ноябрь 2007
Gets or sets a value that indicates whether the mouse can be used as an input device for the InkEdit control.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
<BrowsableAttribute(True)> _
Public Property UseMouseForInput As Boolean
'Применение
Dim instance As InkEdit
Dim value As Boolean
value = instance.UseMouseForInput
instance.UseMouseForInput = value
[BrowsableAttribute(true)]
public bool UseMouseForInput { get; set; }
[BrowsableAttribute(true)]
public:
property bool UseMouseForInput {
bool get ();
void set (bool value);
}
/** @property */
/** @attribute BrowsableAttribute(true) */
public boolean get_UseMouseForInput()
/** @property */
/** @attribute BrowsableAttribute(true) */
public void set_UseMouseForInput(boolean value)
public function get UseMouseForInput () : boolean
public function set UseMouseForInput (value : boolean)
Значение свойства
Тип: System.Boolean
true if the mouse can be used as an input device for the InkEdit control; otherwise, false.
Заметки
This property should only be changed if the Status property returns the InkEditStatus enumeration value, Idle.
Note If you are developing applications on a computer that is not running Microsoft® Windows® XP Tablet PC Edition, you must set the UseMouseForInput property to true in order to use the mouse as an input device when testing an InkEdit control in your application.
Примеры
In this example, the InkEdit control is set to accept input from the mouse.
If InkEditStatus.Idle = mInkEdit.Status Then
mInkEdit.UseMouseForInput = True
End If
if (InkEditStatus.Idle == mInkEdit.Status)
{
mInkEdit.UseMouseForInput = true;
}
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0