GoDiagram Web Reference
Label Property (GoBasicNode)

Gets or sets the GoText, the label for this node (or null if there is no label).
Syntax
'Declaration
 
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
Public Overrides Property Label As GoText
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public override GoText Label {get; set;}

Property Value

Initially this value may be null. You can set the Text value to a non-null string in order to create the label. The new value may be null, to simply remove the label. If non-null, the new text object should have the Selectable property set to false.
Remarks
If you need to use your own subclass of GoText, instead of setting the label after creating a node, you may find it easier to override the CreateLabel method.
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

GoBasicNode Class
GoBasicNode Members
Base Implementation in Label

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback