Condividi tramite


Metodo ViewItem.HitTest

Inizializza un hit test su ViewItem, con i metodi HitTestFilterCallback e HitTestResultCallback definiti dal chiamante.

Spazio dei nomi:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Sintassi

'Dichiarazione
Public MustOverride Function HitTest ( _
    filterCallback As ViewHitTestFilterCallback, _
    resultCallback As ViewHitTestResultCallback, _
    hitTestParameters As HitTestParameters _
) As ViewHitTestResult
public abstract ViewHitTestResult HitTest(
    ViewHitTestFilterCallback filterCallback,
    ViewHitTestResultCallback resultCallback,
    HitTestParameters hitTestParameters
)
public:
virtual ViewHitTestResult^ HitTest(
    ViewHitTestFilterCallback^ filterCallback, 
    ViewHitTestResultCallback^ resultCallback, 
    HitTestParameters^ hitTestParameters
) abstract
abstract HitTest : 
        filterCallback:ViewHitTestFilterCallback * 
        resultCallback:ViewHitTestResultCallback * 
        hitTestParameters:HitTestParameters -> ViewHitTestResult 
public abstract function HitTest(
    filterCallback : ViewHitTestFilterCallback, 
    resultCallback : ViewHitTestResultCallback, 
    hitTestParameters : HitTestParameters
) : ViewHitTestResult

Parametri

Valore restituito

Tipo: Microsoft.Windows.Design.Interaction.ViewHitTestResult
Oggetto ViewHitTestResult che contiene gli oggetti visivi raggiunti.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ViewItem Classe

Spazio dei nomi Microsoft.Windows.Design.Interaction