Share via


TextInputPanel.CurrentInPlaceState Property

Gets the current in-place state of the Input Panel.

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

Syntax

'Declaration
Public ReadOnly Property CurrentInPlaceState As InPlaceState
'Usage
Dim instance As TextInputPanel 
Dim value As InPlaceState 

value = instance.CurrentInPlaceState
public InPlaceState CurrentInPlaceState { get; }
public:
property InPlaceState CurrentInPlaceState {
    InPlaceState get ();
}
public function get CurrentInPlaceState () : InPlaceState

Property Value

Type: Microsoft.Ink.TextInput.InPlaceState
The current in-place state of the Input Panel as specified by the InPlaceState enumeration.

Remarks

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.

Examples

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;

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

TextInputPanel Class

TextInputPanel Members

Microsoft.Ink.TextInput Namespace