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
- result
Type: Microsoft.Windows.Design.Interaction.ViewHitTestResult
A ViewHitTestResult to get hit test behavior for.
Return Value
Type: System.Windows.Media.HitTestResultBehavior
A HitTestFilterBehavior that specifies the hit testing behavior for result.