A simple implementation of the INodeControlNodeStyle interface
that can render complex ContentControls for the visualization of INodes.
Namespace: yWorks.yFiles.UI.DrawingAssembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.1.0.2
Syntax
| C# |
|---|
public class NodeControlNodeStyle : ControlStyleBase<INode>, INodeControlNodeStyle, ITaggedStyleBase<INode>, INodeStyle, IVisualStyle<INode>, IModelItemInstaller<INode>, ICloneable |
| Visual Basic |
|---|
Public Class NodeControlNodeStyle _ Inherits ControlStyleBase(Of INode) _ Implements INodeControlNodeStyle, ITaggedStyleBase(Of INode), _ INodeStyle, IVisualStyle(Of INode), IModelItemInstaller(Of INode), _ ICloneable |
Remarks
The StyleResourceKey is used to determine the Style that
will be applied to the NodeControl. The style will be looked-up using the
TryFindResource(Control, Object) method for the CanvasControl
the style is used in.
Related Demo Applications
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.UI.Drawing..::..ControlStyleBase<(Of <(<'INode>)>)>
yWorks.yFiles.UI.Drawing..::..NodeControlNodeStyle
yWorks.yFiles.UI.Drawing..::..ControlStyleBase<(Of <(<'INode>)>)>
yWorks.yFiles.UI.Drawing..::..NodeControlNodeStyle