StylusDevice.DirectlyOver Propiedad

Definición

Obtiene el objeto IInputElement sobre el que está situado el puntero.

C#
public System.Windows.IInputElement DirectlyOver { get; }

Valor de propiedad

El elemento sobre el que está situado el puntero.

Ejemplos

En el ejemplo siguiente se muestra la DirectlyOver propiedad .

C#
// See to what DirectlyOver property is set
// First see if it's null
if (null == myStylusDevice.DirectlyOver)
{
    textbox1.AppendText("DirectlyOver: null\n");
}
else
{
    // Otherwise display the underlying type
    textbox1.AppendText("DirectlyOver: " + myStylusDevice.DirectlyOver.GetType().Name + "\n");
}

Se aplica a

Produto Versións
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9