ViewHitTestResultCallback Delegate

Represents a callback that is used to customize hit testing in the HitTest method.

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

Syntax

'Declaration
Public Delegate Function ViewHitTestResultCallback ( _
    result As ViewHitTestResult _
) As HitTestResultBehavior
public delegate HitTestResultBehavior ViewHitTestResultCallback(
    ViewHitTestResult result
)
public delegate HitTestResultBehavior ViewHitTestResultCallback(
    ViewHitTestResult^ result
)
type ViewHitTestResultCallback = 
    delegate of 
        result:ViewHitTestResult -> HitTestResultBehavior
JScript does not support delegates.

Parameters

Return Value

Type: System.Windows.Media.HitTestResultBehavior
A HitTestFilterBehavior that specifies the hit testing behavior for result.

See Also

Reference

Microsoft.Windows.Design.Interaction Namespace