A simple implementation of the IEdgeSegmentControlEdgeStyle interface that can render complex ContentControls for the visualization of IEdges.

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

Syntax

C#
public class EdgeSegmentControlEdgeStyle : ControlStyleBase<IEdge>, 
	IEdgeSegmentControlEdgeStyle, ITaggedStyleBase<IEdge>, IEdgeStyle, IVisualStyle<IEdge>, 
	IModelItemInstaller<IEdge>, ICloneable
Visual Basic
Public Class EdgeSegmentControlEdgeStyle _
	Inherits ControlStyleBase(Of IEdge) _
	Implements IEdgeSegmentControlEdgeStyle, ITaggedStyleBase(Of IEdge),  _
	IEdgeStyle, IVisualStyle(Of IEdge), IModelItemInstaller(Of IEdge),  _
	ICloneable

Remarks

The StyleResourceKey is used to determine the Style that will be applied to the EdgeSegmentControl. The style will be looked-up using the TryFindResource(Control, Object) method for the CanvasControl the style is used in.

Related Demo Applications

The following programming samples are available: Also see the yFiles for Silverlight tutorials for step by step introductions.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Drawing..::..ControlStyleBase<(Of <(<'IEdge>)>)>
    yWorks.yFiles.UI.Drawing..::..EdgeSegmentControlEdgeStyle

See Also