Compartir a través de


InPlaceSizeChangeEventArgs.OldSize (Propiedad)

Actualización: noviembre 2007

Obtiene el tamaño actual del Panel de entrada de Tablet PC.

Espacio de nombres:  Microsoft.Ink.TextInput
Ensamblado:  Microsoft.Ink (en Microsoft.Ink.dll)

Sintaxis

'Declaración
Public ReadOnly Property OldSize As Rectangle
'Uso
Dim instance As InPlaceSizeChangeEventArgs
Dim value As Rectangle

value = instance.OldSize
public Rectangle OldSize { get; }
public:
property Rectangle OldSize {
    Rectangle get ();
}
/** @property */
public Rectangle get_OldSize()
public function get OldSize () : Rectangle

Valor de propiedad

Tipo: System.Drawing.Rectangle
El tamaño actual del Panel de entrada.

Ejemplos

En este ejemplo se define un controlador del evento InPlaceSizeChanging donde los valores que contiene el objeto InPlaceSizeChangeEventArgs se usan para establecer propiedad TextBox.Text de un control TextBox, outputTextBox.

Sub tip_InPlaceSizeChanging(ByVal sender As Object, ByVal e As InPlaceSizeChangeEventArgs)
    outputTextBox.Text += "Old In Place Size is " + e.OldSize.Width.ToString() + "x" + e.OldSize.Height.ToString() + Environment.NewLine
End Sub
void tip_InPlaceSizeChanging(object sender, InPlaceSizeChangeEventArgs e)
{
    outputTextBox.Text += "Old In Place Size is " + e.OldSize.Width + "x" + e.OldSize.Height + Environment.NewLine;
}

Plataformas

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework y .NET Compact Framework no admiten todas las versiones de cada plataforma. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Información de versión

.NET Framework

Compatible con: 3.0

Vea también

Referencia

InPlaceSizeChangeEventArgs (Clase)

InPlaceSizeChangeEventArgs (Miembros)

Microsoft.Ink.TextInput (Espacio de nombres)