GoDiagram Web Reference
Icon Property (GoGeneralNode)

Gets or sets the GoObject, normally a GoImage, acting as the central icon for this node.
Syntax
'Declaration
 
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
Public Overridable Property Icon As GoObject
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public virtual GoObject Icon {get; set;}

Property Value

The new value may be null, to simply remove the icon. If non-null, the icon object should have the Selectable property set to false.
Remarks
Instead of setting the icon after creating a node, you may find it easier to override the CreateIcon method(s). The new shape will have its Center location, Selectable, Resizable, Reshapable, ResizesRealtime, and Shadowed properties copied from the old shape.
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback