GoDiagram Web Reference
Shape Property (GoBasicNode)

Gets or sets the GoShape, the background for this node.
Syntax
'Declaration
 
<TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
Public Overridable Property Shape As GoShape
[TypeConverterAttribute("System.ComponentModel.ExpandableObjectConverter, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public virtual GoShape Shape {get; set;}

Property Value

The new value may be null, to simply remove the background shape.
Remarks
Instead of setting the shape after creating a node, you may find it easier to override the CreateShape method. The new shape will have its Center location, Selectable, Resizable, Reshapable, ResizesRealtime, and Shadowed properties copied from the old shape. Setting this property will also set the Port's PortObject to be the new 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

GoBasicNode Class
GoBasicNode Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback