InPlaceStateChangeEventArgs.NewState Property
Gets the in-place state the Input Panel is changing to.
Namespace: Microsoft.Ink.TextInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public ReadOnly Property NewState As InPlaceState
'Usage
Dim instance As InPlaceStateChangeEventArgs
Dim value As InPlaceState
value = instance.NewState
public InPlaceState NewState { get; }
public:
property InPlaceState NewState {
InPlaceState get ();
}
public function get NewState () : InPlaceState
Property Value
Type: Microsoft.Ink.TextInput.InPlaceState
The in-place state the Input Panel is changing to.
Examples
This example defines an event handler for the InPlaceStateChanged event where the NewState value is used to set the TextBox.Text property of a TextBox, outputTextBox.
Sub tip_InPlaceStateChanged(ByVal sender As Object, ByVal e As InPlaceStateChangeEventArgs)
outputTextBox.Text += "In Place State Changed to " + e.NewState.ToString() + Environment.NewLine
End Sub
void tip_InPlaceStateChanged(object sender, InPlaceStateChangeEventArgs e)
{
outputTextBox.Text += "In Place State Changed to " + e.NewState + 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
InPlaceStateChangeEventArgs Class