Nevron .NET Vision
Nevron.Diagram Namespace / NGroup Class / CanConnectPoints Method
foreign point
own point


In This Topic
    CanConnectPoints Method (NGroup)
    In This Topic
    Called by own connection points to acknowledge the connection with a foreign point
    Syntax
    'Declaration
     
    
    Public Overrides Function CanConnectPoints( _
       ByVal foreignPoint As NConnectionPoint, _
       ByVal ownPoint As NConnectionPoint _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NGroup
    Dim foreignPoint As NConnectionPoint
    Dim ownPoint As NConnectionPoint
    Dim value As System.Boolean
     
    value = instance.CanConnectPoints(foreignPoint, ownPoint)
    public override System.bool CanConnectPoints( 
       NConnectionPoint foreignPoint,
       NConnectionPoint ownPoint
    )

    Parameters

    foreignPoint
    foreign point
    ownPoint
    own point

    Return Value

    true if the connection is acceptable, otherwise false
    Remarks
    Overriden to return false, if the foreign point is a plug or an outward port and the foreign point shape is a descendant of this group.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also