An implementation of the IImageNodeStyle interface that uses BitmapSource that are built from memory as the Image.

Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2

Syntax

C#
[ContentPropertyAttribute("BitmapSource")]
public class MemoryImageNodeStyle : IImageNodeStyle, 
	INodeStyle, IVisualStyle<INode>, IModelItemInstaller<INode>, 
	ICloneable
Visual Basic
<ContentPropertyAttribute("BitmapSource")> _
Public Class MemoryImageNodeStyle _
	Implements IImageNodeStyle, INodeStyle, IVisualStyle(Of INode),  _
	IModelItemInstaller(Of INode), ICloneable

Remarks

During serialization this instance will serialize the contents of the image.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Drawing..::..MemoryImageNodeStyle

See Also