Sets all the properties of this DiagramNodeBase to match those of the given IDiagramNodeState. This method can be overriden to include the setting of other properties introduced by sub classes.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public virtual void SetAs(
	IDiagramNodeState state
)
Visual Basic (Declaration)
Public Overridable Sub SetAs ( _
	state As IDiagramNodeState _
)

Parameters

state
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramNodeState
The IDiagramNodeState that will have its property values applied to this DiagramNodeBase.

Implements

IDiagramNode..::.SetAs(IDiagramNodeState)

See Also