StylusDevice.DirectlyOver Propiedad
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Obtiene el objeto IInputElement sobre el que está situado el puntero.
public:
property System::Windows::IInputElement ^ DirectlyOver { System::Windows::IInputElement ^ get(); };
public System.Windows.IInputElement DirectlyOver { get; }
member this.DirectlyOver : System.Windows.IInputElement
Public ReadOnly Property DirectlyOver As IInputElement
El elemento sobre el que está situado el puntero.
En el ejemplo siguiente se muestra la DirectlyOver propiedad .
// 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");
}
' See to what DirectlyOver property is set
' First see if it's null
If IsNothing(myStylusDevice.DirectlyOver) Then
textbox1.AppendText("DirectlyOver: null" + vbCrLf)
Else
' Otherwise display the underlying type
textbox1.AppendText("DirectlyOver (type): " + TypeName(myStylusDevice.DirectlyOver) + vbCrLf)
End If
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 |
Comentarios de .NET
.NET é un proxecto de código aberto. Selecciona unha ligazón para ofrecer comentarios: