Returns a callback object that can be used to modify the appearance of a given dummy node without using a IFoldedGraph view.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
[NotNullAttribute] public virtual IChangeDummyNodeAppearanceCallback GetChangeDummyAppearanceCallback( DummyNodeId nodeId )
Visual Basic
<NotNullAttribute> _ Public Overridable Function GetChangeDummyAppearanceCallback ( _ nodeId As DummyNodeId _ ) As IChangeDummyNodeAppearanceCallback

Parameters

nodeId
Type: yWorks.yFiles.UI.Model..::..DummyNodeId
The id of the dummy node to modify.

Return Value

A callback implementation that can be used to modify the node.

Remarks

This method can be used to modify the view specific state of a dummy node, even if there is no view, that is currently displaying this node. The methods provided by the callback implementation will work on the given DummyNodeId and will affect all views that display that exact dummy node. Using the callback is the only way of modifying a dummy node view state, since the INode instance returned by GetViewState(DummyNodeId) does not belong to an accessible IGraph instance and thus cannot be modified otherwise.

See Also