GoXam for WPF v3
FindPartsAt<T> Method
Northwoods.GoXam Namespace > DiagramPanel Class : FindPartsAt<T> Method
the Type of part to find
a Point in model coordinates
The kinds of Layers to search in. For example, if you are looking for Nodes, using the value SearchLayers.Nodes, this will speed up the search by ignoring layers containing Links.
Return all of the Parts that are at a given point.
Syntax
public IEnumerable<T> FindPartsAt<T>( 
   Point p,
   SearchLayers layers
)
where T: Part

Parameters

p
a Point in model coordinates
layers
The kinds of Layers to search in. For example, if you are looking for Nodes, using the value SearchLayers.Nodes, this will speed up the search by ignoring layers containing Links.

Type Parameters

T
the Type of part to find

Return Value

All of the Parts of the given type T that are at the Point p and that are in the kinds of layers indicated by layers. This returns an empty list if no qualifying parts are found.
See Also

Reference

DiagramPanel Class
DiagramPanel Members