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
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.