Simple default implementation of the ICollapsibleNodeStyleDecorator interface.

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#
[ObfuscationAttribute(StripAfterObfuscation = false, Exclude = true, 
	ApplyToMembers = false)]
[ContentPropertyAttribute("Wrapped")]
public class CollapsibleNodeStyleDecorator : ICollapsibleNodeStyleDecorator, 
	INodeStyle, IVisualStyle<INode>, IModelItemInstaller<INode>, 
	ICloneable
Visual Basic
<ObfuscationAttribute(StripAfterObfuscation := False, Exclude := True,  _
	ApplyToMembers := False)> _
<ContentPropertyAttribute("Wrapped")> _
Public Class CollapsibleNodeStyleDecorator _
	Implements ICollapsibleNodeStyleDecorator, INodeStyle, IVisualStyle(Of INode),  _
	IModelItemInstaller(Of INode), ICloneable

Remarks

This style uses the CollapsibleNodeStyleDecoratorRenderer to adorn an existing INodeStyle with a Button instance that can then be used to trigger the ToggleGroupStateCommand.

Inheritance Hierarchy

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

See Also