GoXam for WPF v3
FindPort Method
Northwoods.GoXam Namespace > Node Class : FindPort Method
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.
Find the FrameworkElement in this node whose Node.PortId attached property matches a given port parameter value.
Syntax
public virtual FrameworkElement FindPort( 
   string portid,
   bool from
)

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
See Also

Reference

Node Class
Node Members