documentationfor yFiles for HTML 2.6

Properties

validityin DefaultPortCandidateGets or sets whether this candidate is a valid one depending on the context it has been obtained from.
validityin IPortCandidateGets whether this instance is a valid port candidate.

Method Return Values

from (PortCandidateValidity)in PortCandidateValidityConverts the argument to PortCandidateValidity.

Method Parameters

DefaultPortCandidate (IPortOwner, IPortLocationModelParameter?, PortCandidateValidity?)in DefaultPortCandidateCreates a candidate for the given owner that uses the graph's defaults for the port's style and the given locationParameter.
from (PortCandidateValidity)in PortCandidateValidityConverts the argument to PortCandidateValidity.