ViewHitTestFilterCallback Delegate
Represents the callback method that specifies which parts of the visual tree to omit from hit test processing 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 ViewHitTestFilterCallback ( _
potentialHitTestTarget As ViewItem _
) As HitTestFilterBehavior
public delegate HitTestFilterBehavior ViewHitTestFilterCallback(
ViewItem potentialHitTestTarget
)
public delegate HitTestFilterBehavior ViewHitTestFilterCallback(
ViewItem^ potentialHitTestTarget
)
type ViewHitTestFilterCallback =
delegate of
potentialHitTestTarget:ViewItem -> HitTestFilterBehavior
JScript does not support delegates.
Parameters
- potentialHitTestTarget
Type: Microsoft.Windows.Design.Interaction.ViewItem
A ViewItem to hit test.
Return Value
Type: System.Windows.Media.HitTestFilterBehavior
A HitTestFilterBehavior that specifies the hit testing behavior for potentialHitTestTarget.