Share via


InputAreaChangeEventArgs.NewArea Property

Gets the input area the Input Panel is changing to.

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

Syntax

'Declaration
Public ReadOnly Property NewArea As PanelInputArea
'Usage
Dim instance As InputAreaChangeEventArgs 
Dim value As PanelInputArea 

value = instance.NewArea
public PanelInputArea NewArea { get; }
public:
property PanelInputArea NewArea {
    PanelInputArea get ();
}
public function get NewArea () : PanelInputArea

Property Value

Type: Microsoft.Ink.TextInput.PanelInputArea
The input area to which the Input Panel is changing.

Examples

This example defines an event handler for the InputAreaChanged event where the NewArea value is used to set the TextBox.Text property of a TextBox, outputTextBox.

Sub tip_InputAreaChanged(ByVal sender As Object, ByVal e As InputAreaChangeEventArgs)
    outputTextBox.Text += "Input Area Changed to " + e.NewArea.ToString() + Environment.NewLine
End Sub
void tip_InputAreaChanged(object sender, InputAreaChangeEventArgs e)
{
    outputTextBox.Text += "Input Area Changed to " + e.NewArea + 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

InputAreaChangeEventArgs Class

InputAreaChangeEventArgs Members

Microsoft.Ink.TextInput Namespace