GoXam for WPF v3
FindElementsAt<T> Method
Northwoods.GoXam Namespace > DiagramPanel Class : FindElementsAt<T> Method
the type of element being searched for
a Point in model coordinates
This is a predicate that is given an element of type T; if the predicate returns true, this method includes that element in its results. If this predicate argument is null, no filtering of elements is done -- all are included.
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.
Search all parts that are at a given point that meet a given predicate, and return a collection of elements that match.
Syntax

Parameters

p
a Point in model coordinates
navig
This is a function that is given an element at the given point and returns an element of type T to be considered by the predicate pred. Typically the function will find the ancestor Part or Node.
pred
This is a predicate that is given an element of type T; if the predicate returns true, this method includes that element in its results. If this predicate argument is null, no filtering of elements is done -- all are included.
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 element being searched for

Return Value

a perhaps empty collection of elements of type T
See Also

Reference

DiagramPanel Class
DiagramPanel Members