Questo argomento non è stato ancora valutato - Valuta questo argomento

Proprietà Stylus.DirectlyOver

Gets the element that is directly beneath the stylus.

Spazio dei nomi: System.Windows.Input
Assembly: PresentationCore (in presentationcore.dll)
Spazio dei nomi XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public static IInputElement DirectlyOver { get; }
/** @property */
public static IInputElement get_DirectlyOver ()

public static function get DirectlyOver () : IInputElement

Non è possibile utilizzare questa proprietà in XAML.

Valore proprietà

The IInputElement that is directly beneath the stylus.

The following example demonstrates how to determine which element the stylus is directly over. This example assumes that there is a TextBox called textBox1 and that the StylusInAirMove event is connected to the event handler.

void Window1_StylusInAirMove(object sender, StylusEventArgs e)
{
    textbox1.AppendText(Stylus.DirectlyOver.ToString() + "\n");
}

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in:
Il documento è risultato utile?
(1500 caratteri rimanenti)

Aggiunte alla community

AGGIUNGI
© 2013 Microsoft. Tutti i diritti riservati.