Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A callback delegate that can be assigned to the ModelFilter property of a transacted task.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Delegate Function ModelHitTestFilterCallback ( _
potentialHitTestTarget As ModelItem _
) As HitTestFilterBehavior
public delegate HitTestFilterBehavior ModelHitTestFilterCallback(
ModelItem potentialHitTestTarget
)
public delegate HitTestFilterBehavior ModelHitTestFilterCallback(
ModelItem^ potentialHitTestTarget
)
type ModelHitTestFilterCallback =
delegate of
potentialHitTestTarget:ModelItem -> HitTestFilterBehavior
JScript does not support delegates.
Parameters
- potentialHitTestTarget
Type: Microsoft.Windows.Design.Model.ModelItem
A model item under the mouse pointer.
Return Value
Type: System.Windows.Media.HitTestFilterBehavior
The filter behavior for this filter.
Remarks
If ModelHitTestFilterCallback is set, hit testing of items on the designer will be filtered through this callback. This allows you to ignore areas of the designer during drag and other transacted operations.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace