Northwoods.GoSilverlight 1.3.5 Assembly
FindToolHandleAt Method
See Also  Send Feedback
Northwoods.GoXam.Tool Namespace > DiagramTool Class : FindToolHandleAt Method

p
a Point in model coordinates
category
the handle's Northwoods.GoXam.Adornment's Northwoods.GoXam.Part.Category
Find an element at the given point that is a tool handle.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function FindToolHandleAt( _
   ByVal p As Point, _
   ByVal category As String _
) As FrameworkElement
C# 
protected virtual FrameworkElement FindToolHandleAt( 
   Point p,
   string category
)

Parameters

p
a Point in model coordinates
category
the handle's Northwoods.GoXam.Adornment's Northwoods.GoXam.Part.Category

Remarks

A tool handle is an element that is part of an Northwoods.GoXam.Adornment that is used by a tool. Typically it is a ToolHandle in WPF or a Path in Silverlight, but may be any FrameworkElement with the go:NodePanel.Figure attached property set to value other than None. This method checks that the adornment's Northwoods.GoXam.Part.Category matches the given category.

Requirements

See Also

© 2012 All Rights Reserved.