Parameters
- portid
- This treats null as an empty string. The method returns the element whose GetPortId value equals that string. If there is no such child element, it searches for an element whose 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