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

Namespace: yWorks.yFiles.UI.Drawing
Assembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)

Syntax

C#
[ContentPropertyAttribute("BitmapSource")]
[ObfuscationAttribute(StripAfterObfuscation = false, Exclude = true, 
	ApplyToMembers = true)]
public class MemoryImageNodeStyle : IImageNodeStyle, 
	INodeStyle, IVisualStyle<INode>, IModelItemInstaller<INode>, 
	ICloneable
Visual Basic
<ContentPropertyAttribute("BitmapSource")> _
<ObfuscationAttribute(StripAfterObfuscation := False, Exclude := True,  _
	ApplyToMembers := True)> _
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