TextInputPanel.CurrentInPlaceState - свойство
Обновлен: Ноябрь 2007
Gets the current in-place state of the Input Panel.
Пространство имен: Microsoft.Ink.TextInput
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public ReadOnly Property CurrentInPlaceState As InPlaceState
'Применение
Dim instance As TextInputPanel
Dim value As InPlaceState
value = instance.CurrentInPlaceState
public InPlaceState CurrentInPlaceState { get; }
public:
property InPlaceState CurrentInPlaceState {
InPlaceState get ();
}
/** @property */
public InPlaceState get_CurrentInPlaceState()
public function get CurrentInPlaceState () : InPlaceState
Значение свойства
Тип: Microsoft.Ink.TextInput.InPlaceState
The current in-place state of the Input Panel as specified by the InPlaceState enumeration.
Заметки
When the Input Panel is closed or hidden, the current in-place state is reset to the default state, unless the default state is Auto in which case the current in-place state is reset to HoverTarget.
Примеры
The following example demonstrates the use of CurrentInPlaceState. The tip object is an instance of TextInputPanel. The CurrentInPlaceState value is used to set TextBox.Text property of a TextBox, outputTextBox.
outputTextBox.Text += "Current In Place State is " + tip.CurrentInPlaceState.ToString() + Environment.NewLine
outputTextBox.Text += "Current In Place State is " + tip.CurrentInPlaceState + Environment.NewLine;
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0