Find the
FrameworkElement
in this node whose
Node.PortId
attached property matches a given port parameter value.
Syntax
Parameters
- portid
- This treats null as an empty string. The method returns the element whose Node.GetPortId value equals that string. If there is no such child element, it searches for an element whose Node.GetPortId value is the empty string. Finally, when failing to find a port with either the given name or the empty string, this method returns the root visual element for the node.
- from
Return Value
a
FrameworkElement
, or null if no matching element is found
See Also