Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Aggiornamento: novembre 2007
Viene generato quando lo stato sul posto sta per essere modificato.
Spazio dei nomi: Microsoft.Ink.TextInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Sintassi
'Dichiarazione
Public Event InPlaceStateChanging As EventHandler(Of InPlaceStateChangeEventArgs)
'Utilizzo
Dim instance As TextInputPanel
Dim handler As EventHandler(Of InPlaceStateChangeEventArgs)
AddHandler instance.InPlaceStateChanging, handler
public event EventHandler<InPlaceStateChangeEventArgs> InPlaceStateChanging
public:
event EventHandler<InPlaceStateChangeEventArgs^>^ InPlaceStateChanging {
void add (EventHandler<InPlaceStateChangeEventArgs^>^ value);
void remove (EventHandler<InPlaceStateChangeEventArgs^>^ value);
}
/** @event */
public void add_InPlaceStateChanging (EventHandler<InPlaceStateChangeEventArgs> value)
/** @event */
public void remove_InPlaceStateChanging (EventHandler<InPlaceStateChangeEventArgs> value)
JScript non supporta gli eventi.
Esempi
Nei due esempi riportati di seguito viene illustrato come utilizzare InPlaceStateChanging.
Nel primo esempio viene associato un gestore eventi InPlaceStateChanging, tip_InPlaceStateChanging, all'oggetto TextInputPanel, tip.
AddHandler tip.InPlaceStateChanging, AddressOf tip_InPlaceStateChanging
tip.InPlaceStateChanging += new EventHandler<InPlaceStateChangeEventArgs>(tip_InPlaceStateChanging);
Nel secondo esempio è definito un gestore eventi per l'evento InPlaceStateChanging dove il valore OldState è utilizzato per impostare la proprietà TextBox.Text di un controllo TextBox, outputTextBox.
Sub tip_InPlaceStateChanging(ByVal sender As Object, ByVal e As InPlaceStateChangeEventArgs)
outputTextBox.Text += "In Place State Changing from " + e.OldState.ToString() + Environment.NewLine
End Sub
void tip_InPlaceStateChanging(object sender, InPlaceStateChangeEventArgs e)
{
outputTextBox.Text += "In Place State Changing from " + e.OldState + Environment.NewLine;
}
Piattaforme
Windows Vista, Windows XP SP2, Windows Server 2003
.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.
Informazioni sulla versione
.NET Framework
Supportato in: 3.0