The ShapeNode type exposes the following members.

Constructors

  NameDescription
ShapeNode
Initializes a new instance of the ShapeNode class.

Methods

  NameDescription
BuildConnectionPoint
Returns a new connection point to be added to this node.
Clone
Gets an IDiagramNodeState that represents the current state of this node at the time this method is called.
(Overrides DiagramNodeBase<(Of <(DiagramConnectionPoint>)>)..::.Clone()()().)
GetCollisionBounds
Returns the value of the Bounds property of this DiagramNodeBase.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
OnBoundsChanged
Raises the BoundsChanged event.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
OnDataChanged
Raises the DataChanged event.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
OnPropertyChanged
Raises the PropertyChanged event.
(Inherited from ViewModelBase.)
Set<(Of <(T>)>)
Sets the value of a field, raising the PropertyChanged event if required.
(Inherited from ViewModelBase.)
SetAs
Sets all the properties of this node to match those of the given IDiagramNodeState.
(Overrides DiagramNodeBase<(Of <(DiagramConnectionPoint>)>)..::.SetAs(IDiagramNodeState).)

Properties

  NameDescription
Bounds
Gets or sets the display location and size of the node.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
CanOriginateNewConnections
Returns true. DiagramNodeBase objects can accept any number of out going connections. This can be overriden to provide node specific logic.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
CanReceiveNewConnections
Returns true. DiagramNodeBase objects can accept any number of incomming connections. This can be overriden to provide node specific logic.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
ConnectionPoints
Gets the collection of connection points on this DiagramNode.
(Inherited from DiagramNode.)
Data
Gets the data represented by the node.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
DefaultConnectionPoint
Gets the connection point to be used if a connection is attached to the node and no other connection point is specified.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
IsResizable
Gets or sets whether the DiagramNodeBase can be resized.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
Parent
Gets the parent of the DiagramNodeBase. This implementation returns null, but can be overriden.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
Rotation
Gets or sets the rotation of this DiagramNodeBase<(Of <(TConnectionPoint>)>).
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
Shape
Gets or sets the DiagramShape displayed by this ShapeNode.
ZOrder
Gets or sets the relative z-order.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)

Events

  NameDescription
BoundsChanged
Raised when the Bounds property changes.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
DataChanged
Raised when the Data property changes.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)
PropertyChanged
Occurs when a property value changes.
(Inherited from ViewModelBase.)
RotationChanged
Raised when the Rotation property changes.
(Inherited from DiagramNodeBase<(Of <(TConnectionPoint>)>).)

See Also