Compartilhar via


Método ViewItem.HitTest

Inicia o teste de ocorrência de ViewItemdefinida com o chamador pelo HitTestFilterCallback e HitTestResultCallback métodos.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (em Microsoft.Windows.Design.Interaction.dll)

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: Microsoft.Windows.Design.Interaction.ViewHitTestResult
A ViewHitTestResult que contém os objetos visuais que eram hit.

Segurança do .NET Framework

Consulte também

Referência

ViewItem Classe

Namespace Microsoft.Windows.Design.Interaction