GoDiagram Win Reference
CreatePortLabel Method
Example 

Create a label for a port.
Syntax
'Declaration
 
Protected Overridable Function CreatePortLabel( _
   ByVal input As Boolean _
) As GoGeneralNodePortLabel
protected virtual GoGeneralNodePortLabel CreatePortLabel( 
   bool input
)

Parameters

input

Return Value

Remarks
This method is called by MakePort to create a label for a port.
Example
If you override this method, you may want the definition to do some of the things that the standard definition does: If you don't want any port labels, you can override this method to return null.
protected virtual GoGeneralNodePortLabel CreatePortLabel(bool input) {
  GoGeneralNodePortLabel l = new GoGeneralNodePortLabel();
  return l;
}
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

Reference

GoGeneralNode Class
GoGeneralNode Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback